fix: restore Python 3.10 release gate #2
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: release-gate | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| source-suite: | |
| name: source suite (Python ${{ matrix.python-version }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| # Declared minimum and one current Python supported by the project. | |
| python-version: ["3.10", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install package and test extras | |
| run: python -m pip install -e '.[test]' | |
| - name: Run portable source suite | |
| run: python -m pytest -q | |
| installed-artifact: | |
| name: installed artifact gate (Python 3.13) | |
| runs-on: ubuntu-latest | |
| needs: source-suite | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.13" | |
| - name: Install build frontend | |
| run: python -m pip install build | |
| - name: Run installed-artifact release gate | |
| run: python scripts/release_gate.py --checkout "$GITHUB_WORKSPACE" |