Integrations separate CI workflows #3
Workflow file for this run
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: Integration falcon | |
| on: | |
| push: | |
| pull_request: | |
| types: [opened, synchronize] | |
| permissions: | |
| contents: read | |
| id-token: write | |
| jobs: | |
| integration-falcon: | |
| name: "Integration falcon" | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Get full Python version | |
| id: full-python-version | |
| run: echo ::set-output name=version::$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))") | |
| - name: Set up poetry | |
| uses: Gr1N/setup-poetry@v9 | |
| with: | |
| poetry-version: "2.3.1" | |
| - name: Configure poetry | |
| run: poetry config virtualenvs.in-project true | |
| - name: Set up cache | |
| uses: actions/cache@v5 | |
| id: cache | |
| with: | |
| path: .venv | |
| key: venv-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }} | |
| - name: Ensure cache is healthy | |
| if: steps.cache.outputs.cache-hit == 'true' | |
| run: timeout 10s poetry run pip --version || rm -rf .venv | |
| - name: Install dependencies | |
| run: poetry install --all-extras | |
| - name: Test | |
| env: | |
| PYTEST_ADDOPTS: "--color=yes" | |
| run: poetry run pytest tests/integration/contrib/falcon | |
| - name: Upload coverage | |
| uses: codecov/codecov-action@v5 |