Skip to content

Commit 0cbf8bd

Browse files
committed
perf: remove unnecessary Python matrix strategy
- Use Python 3.11 only (no version-specific code in notebooks) - Reduces CI runtime by 50% - Reduces API costs by 50% for notebook execution - Simplifies PR checks (one instead of two identical)
1 parent 72faf94 commit 0cbf8bd

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/notebook-quality.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ permissions:
1818
jobs:
1919
validate-notebooks:
2020
runs-on: ubuntu-latest
21-
strategy:
22-
matrix:
23-
python-version: ['3.11', '3.12']
2421

2522
steps:
2623
- uses: actions/checkout@v4
@@ -31,8 +28,8 @@ jobs:
3128
enable-cache: true
3229
cache-dependency-glob: "uv.lock"
3330

34-
- name: Set up Python ${{ matrix.python-version }}
35-
run: uv python install ${{ matrix.python-version }}
31+
- name: Set up Python 3.11
32+
run: uv python install 3.11
3633

3734
- name: Install dependencies
3835
run: |
@@ -92,6 +89,6 @@ jobs:
9289
if: always()
9390
uses: actions/upload-artifact@v4
9491
with:
95-
name: notebook-test-outputs-py${{ matrix.python-version }}
92+
name: notebook-test-outputs
9693
path: test_outputs/
9794
retention-days: 7

0 commit comments

Comments
 (0)