From de8d28909c8adcff95c777f7641f861572a980a4 Mon Sep 17 00:00:00 2001 From: Matt Aitchison Date: Wed, 25 Feb 2026 16:33:19 -0600 Subject: [PATCH] ci: test all 4 Python versions on PRs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Run 3.10, 3.11, 3.12, 3.13 on every PR — we need to catch version-specific breakage before merge. Removes the configure job since the matrix is now static. Still 16 jobs (4×4) vs 32. --- .github/workflows/tests.yml | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 46095425d..da35bbf33 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,29 +13,14 @@ concurrency: cancel-in-progress: true jobs: - configure: - name: Configure matrix - runs-on: ubuntu-latest - outputs: - python-versions: ${{ steps.matrix.outputs.python-versions }} - steps: - - id: matrix - run: | - if [ "${{ github.event_name }}" = "push" ]; then - echo 'python-versions=["3.10","3.11","3.12","3.13"]' >> "$GITHUB_OUTPUT" - else - echo 'python-versions=["3.12","3.13"]' >> "$GITHUB_OUTPUT" - fi - tests: - name: tests (py${{ matrix.python-version }}, ${{ matrix.group }}/4) - needs: configure + name: tests (${{ matrix.python-version }}, ${{ matrix.group }}/4) runs-on: ubuntu-latest timeout-minutes: 10 strategy: fail-fast: true matrix: - python-version: ${{ fromJSON(needs.configure.outputs.python-versions) }} + python-version: ['3.10', '3.11', '3.12', '3.13'] group: [1, 2, 3, 4] steps: - name: Checkout code