Skip to content

Commit 3d6fb2a

Browse files
ci: restrict test matrix (#4)
1 parent 9c5a3e8 commit 3d6fb2a

1 file changed

Lines changed: 35 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 35 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,27 +15,49 @@ jobs:
1515
timeout-minutes: 5
1616
strategy:
1717
matrix:
18-
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
19-
python-version: ["3.11", "3.12", "3.13"]
20-
polars-version: ["1.20", "1.30", "1.31"]
18+
# os: ["ubuntu-latest", "macos-latest", "windows-latest"]
19+
# python-version: ["3.11", "3.12", "3.13"]
20+
# polars-version: ["1.20", "1.30", "1.31", "1.32", "1.33", "1.34"]
2121
include:
22-
# Methodology: Use Ubuntu for basically everything, then target
23-
# specific cases for the OSes and Python versions.
22+
# Base case
23+
- os: ubuntu-latest
24+
python-version: "3.12"
25+
polars-version: "1.31"
26+
27+
# OS variations
2428
- os: macos-latest
2529
python-version: "3.12"
30+
polars-version: "1.31"
2631
- os: windows-latest
2732
python-version: "3.12"
33+
polars-version: "1.31"
34+
35+
# Python variations
36+
- os: ubuntu-latest
37+
python-version: "3.11"
38+
polars-version: "1.31"
39+
- os: ubuntu-latest
40+
python-version: "3.13"
41+
polars-version: "1.31"
2842

29-
# Polars version tests (Python 3.12 only).
30-
- python-version: "3.12"
43+
# Polars variations
44+
- os: ubuntu-latest
45+
python-version: "3.12"
3146
polars-version: "1.20"
32-
- python-version: "3.12"
47+
- os: ubuntu-latest
48+
python-version: "3.12"
3349
polars-version: "1.30"
34-
- python-version: "3.12"
35-
polars-version: "1.31"
50+
- os: ubuntu-latest
51+
python-version: "3.12"
52+
polars-version: "1.32"
53+
- os: ubuntu-latest
54+
python-version: "3.12"
55+
polars-version: "1.33"
56+
- os: ubuntu-latest
57+
python-version: "3.12"
58+
polars-version: "1.34"
3659

3760
runs-on: ${{ matrix.os }}
38-
3961
steps:
4062
- name: Checkout
4163
uses: actions/checkout@v4
@@ -78,8 +100,8 @@ jobs:
78100
uv run ruff check .
79101
80102
- name: Run type checking
81-
# Skip type checking on many old Polars versions.
82-
if: matrix.polars-version != '0.20'
103+
# Skip type checking on certain versions.
104+
if: matrix.polars-version != '1.33' && matrix.polars-version != '1.34'
83105
run: uv run pyright .
84106

85107
# Linux (Ubuntu)

0 commit comments

Comments
 (0)