Skip to content

Commit b1579f8

Browse files
authored
ci: limit PR matrix to Python 3.14, keep full matrix on main (#1964) (#1965)
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.
1 parent 3d07c8d commit b1579f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
16-
python: [3.12, 3.13, 3.14]
16+
python: ${{ github.event_name == 'pull_request' && fromJson('["3.14"]') || fromJson('["3.12", "3.13", "3.14"]') }}
1717
env:
1818
OS: ${{ matrix.os }}
1919
PYTHON: ${{ matrix.python }}

0 commit comments

Comments
 (0)