Skip to content

Commit 4dcfebf

Browse files
committed
Test matrix including different os's
1 parent 7d00768 commit 4dcfebf

File tree

1 file changed

+21
-7
lines changed

1 file changed

+21
-7
lines changed

.github/workflows/test.yml

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,30 @@ jobs:
2626
runs-on: ubuntu-latest
2727
strategy:
2828
matrix:
29-
python-version:
30-
- "3.7"
31-
- "3.8"
32-
- "3.9"
33-
- "3.10"
34-
- "3.11"
35-
- "3.12"
29+
os: [ ubuntu-latest, windows-latest, macos-latest ]
30+
python-version: [ "3.12" ]
3631
pydantic-version:
3732
- pydantic-v1
3833
- pydantic-v2
34+
include:
35+
- os: ubuntu-22.04
36+
python-version: "3.7"
37+
pydantic-version: pydantic-v1
38+
- os: ubuntu-22.04
39+
python-version: "3.7"
40+
pydantic-version: pydantic-v2
41+
- os: macos-latest
42+
python-version: "3.8"
43+
pydantic-version: pydantic-v1
44+
- os: windows-latest
45+
python-version: "3.9"
46+
pydantic-version: pydantic-v2
47+
- os: ubuntu-latest
48+
python-version: "3.10"
49+
pydantic-version: pydantic-v1
50+
- os: macos-latest
51+
python-version: "3.11"
52+
pydantic-version: pydantic-v2
3953
fail-fast: false
4054
steps:
4155
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)