Skip to content

Commit e630ce1

Browse files
committed
avoid exponential explosion of test configurations
1 parent a7adbb5 commit e630ce1

File tree

1 file changed

+20
-7
lines changed

1 file changed

+20
-7
lines changed

.github/workflows/test.yml

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,29 @@ jobs:
2626
strategy:
2727
matrix:
2828
os: [ ubuntu-latest, windows-latest, macos-latest ]
29-
python-version:
30-
- "3.8"
31-
- "3.9"
32-
- "3.10"
33-
- "3.11"
34-
- "3.12"
35-
- "3.13"
29+
python-version: [ "3.13" ]
3630
pydantic-version:
3731
- pydantic-v1
3832
- pydantic-v2
33+
include:
34+
- os: macos-latest
35+
python-version: "3.8"
36+
pydantic-version: pydantic-v1
37+
- os: windows-latest
38+
python-version: "3.9"
39+
pydantic-version: pydantic-v2
40+
- os: ubuntu-latest
41+
python-version: "3.10"
42+
pydantic-version: pydantic-v1
43+
- os: macos-latest
44+
python-version: "3.11"
45+
pydantic-version: pydantic-v2
46+
- os: windows-latest
47+
python-version: "3.12"
48+
pydantic-version: pydantic-v1
49+
- os: ubuntu-latest
50+
python-version: "3.12"
51+
pydantic-version: pydantic-v2
3952
fail-fast: false
4053
runs-on: ${{ matrix.os }}
4154
steps:

0 commit comments

Comments
 (0)