feat: add FastStream worker integration to temporal-boost #81
This file contains hidden or 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"] | |
| pull_request: | |
| branches: ["main"] | |
| jobs: | |
| linters: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Installing lint deps | |
| run: | | |
| pip install poetry | |
| poetry config virtualenvs.create false | |
| poetry install --with lint --with test --no-root | |
| - name: Lint lib src | |
| run: | | |
| # stop the build if there are Python syntax errors or undefined names | |
| ruff check . | |
| unit-tests: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| pip install poetry | |
| poetry config virtualenvs.create false | |
| poetry install --with test --no-root | |
| - name: Run integration tests | |
| run: poetry run pytest tests --cov | |
| - name: Upload Codecov | |
| uses: codecov/codecov-action@v3 |