From d0271d0a74e463639b4302b065aa4507362d9949 Mon Sep 17 00:00:00 2001 From: Brendan Collins Date: Fri, 15 May 2026 10:13:09 -0700 Subject: [PATCH] ci: limit PR matrix to Python 3.14, keep full matrix on main (#1964) Pull requests now run only Python 3.14 across the three OSes (3 jobs) instead of the full 3.12/3.13/3.14 matrix (9 jobs). Pushes to main keep the full matrix so version-specific regressions are still caught. --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6b48f8410..c419f2e17 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] - python: [3.12, 3.13, 3.14] + python: ${{ github.event_name == 'pull_request' && fromJson('["3.14"]') || fromJson('["3.12", "3.13", "3.14"]') }} env: OS: ${{ matrix.os }} PYTHON: ${{ matrix.python }}