Skip to content

Commit e514a88

Browse files
ashwin-antclaude
andauthored
ci: pin CI to Python 3.13, remove version matrix (anthropics#537)
## Summary - Remove the `python-version` matrix from `test`, `test-e2e`, and `test-examples` CI jobs - Pin all jobs to Python 3.13 directly instead of testing across 3.10, 3.11, 3.12, and 3.13 - Reduces CI matrix size and speeds up workflow runs ## Test plan - [ ] Verify CI passes on all three OS targets (ubuntu, macos, windows) with Python 3.13 - [ ] Confirm unit tests, e2e tests, and example tests all run successfully ## Changelog <!-- CHANGELOG:START --> <!-- CHANGELOG:END --> 🤖 Generated with [Claude Code](https://claude.com/claude-code) (0% 1-shotted by claude) Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent b069c5b commit e514a88

1 file changed

Lines changed: 6 additions & 11 deletions

File tree

.github/workflows/test.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,14 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [ubuntu-latest, macos-latest, windows-latest]
15-
python-version: ["3.10", "3.11", "3.12", "3.13"]
1615

1716
steps:
1817
- uses: actions/checkout@v4
1918

20-
- name: Set up Python ${{ matrix.python-version }}
19+
- name: Set up Python
2120
uses: actions/setup-python@v5
2221
with:
23-
python-version: ${{ matrix.python-version }}
22+
python-version: "3.13"
2423

2524
- name: Install dependencies
2625
run: |
@@ -45,15 +44,14 @@ jobs:
4544
strategy:
4645
matrix:
4746
os: [ubuntu-latest, macos-latest, windows-latest]
48-
python-version: ["3.10", "3.11", "3.12", "3.13"]
4947

5048
steps:
5149
- uses: actions/checkout@v4
5250

53-
- name: Set up Python ${{ matrix.python-version }}
51+
- name: Set up Python
5452
uses: actions/setup-python@v5
5553
with:
56-
python-version: ${{ matrix.python-version }}
54+
python-version: "3.13"
5755

5856
- name: Install Claude Code (Linux/macOS)
5957
if: runner.os == 'Linux' || runner.os == 'macOS'
@@ -108,17 +106,14 @@ jobs:
108106
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
109107
runs-on: ubuntu-latest
110108
needs: test-e2e # Run after e2e tests
111-
strategy:
112-
matrix:
113-
python-version: ["3.13"]
114109

115110
steps:
116111
- uses: actions/checkout@v4
117112

118-
- name: Set up Python ${{ matrix.python-version }}
113+
- name: Set up Python
119114
uses: actions/setup-python@v5
120115
with:
121-
python-version: ${{ matrix.python-version }}
116+
python-version: "3.13"
122117

123118
- name: Install Claude Code (Linux)
124119
if: runner.os == 'Linux'

0 commit comments

Comments
 (0)