Skip to content

Commit bc51300

Browse files
tobixenclaude
andcommitted
Optimize CI: test only Python 3.9 and 3.14 on PRs
Configure GitHub Actions to run tests on only the minimum and maximum supported Python versions (3.9 and 3.14) for pull requests, while still testing all versions (3.9-3.14) on pushes to master. This reduces CI time and resource usage for PRs while maintaining full coverage on the main branch. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 0ae0095 commit bc51300

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/tests.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
python: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
17+
python: ${{ github.event_name == 'pull_request' && fromJSON('["3.9", "3.14"]') || fromJSON('["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]') }}
1818
services:
1919
baikal:
2020
image: ckulka/baikal:nginx

0 commit comments

Comments
 (0)