client: actually stream messages in iter_messages #368
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [main] | |
tags: ["releases/**"] | |
pull_request: | |
branches: ["*"] | |
jobs: | |
python: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
cache: pipenv | |
- run: pip install pipenv==2022.12.19 | |
- run: pipenv install --dev --deploy | |
- run: pipenv run black --check --diff --color --exclude '.*_pb2.py' . | |
- run: pipenv run pyright foxglove | |
- run: pipenv run python -m flake8 foxglove | |
- run: pipenv run python -m pytest | |
- run: pipenv run python -m build | |
- name: Publish to TestPyPI | |
if: | | |
!github.event.pull_request.head.repo.fork && | |
github.actor != 'dependabot[bot]' | |
uses: pypa/gh-action-pypi-publish@release/v1 | |
with: | |
packages_dir: dist | |
repository_url: https://test.pypi.org/legacy/ | |
skip_existing: true | |
- name: Publish to PyPI | |
if: | | |
!github.event.pull_request.head.repo.fork && | |
startsWith(github.ref, 'refs/tags/releases/v') | |
uses: pypa/gh-action-pypi-publish@release/v1 | |
with: | |
packages_dir: dist |