Skip to content

Commit 3912e68

Browse files
committed
test on various os
1 parent 3a0b60b commit 3912e68

File tree

1 file changed

+26
-10
lines changed

1 file changed

+26
-10
lines changed

.github/workflows/test.yml

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,37 @@ env:
2323

2424
jobs:
2525
test:
26-
runs-on: ubuntu-latest
2726
strategy:
2827
matrix:
29-
python-version:
30-
- "3.8"
31-
- "3.9"
32-
- "3.10"
33-
- "3.11"
34-
- "3.12"
35-
- "3.13"
36-
- "3.14"
28+
os: [ ubuntu-latest, windows-latest, macos-latest ]
29+
python-version: [ "3.14" ]
3730
anyio-version:
3831
- anyio-v3
3932
- anyio-v4
33+
include:
34+
- os: macos-latest
35+
python-version: "3.8"
36+
anyio-version: "anyio-v3"
37+
- os: windows-latest
38+
python-version: "3.8"
39+
anyio-version: "anyio-v4"
40+
- os: ubuntu-latest
41+
python-version: "3.9"
42+
anyio-version: "anyio-v3"
43+
- os: macos-latest
44+
python-version: "3.10"
45+
anyio-version: "anyio-v4"
46+
- os: windows-latest
47+
python-version: "3.11"
48+
anyio-version: "anyio-v3"
49+
- os: ubuntu-latest
50+
python-version: "3.12"
51+
anyio-version: "anyio-v4"
52+
- os: macos-latest
53+
python-version: "3.13"
54+
anyio-version: "anyio-v3"
4055
fail-fast: false
56+
runs-on: ${{ matrix.os }}
4157
steps:
4258
- uses: actions/checkout@v5
4359
- name: Set up Python
@@ -78,7 +94,7 @@ jobs:
7894
- name: Store coverage files
7995
uses: actions/upload-artifact@v4
8096
with:
81-
name: coverage-${{ matrix.python-version }}-${{ matrix.anyio-version }}
97+
name: coverage-${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.anyio-version }}
8298
path: coverage
8399
include-hidden-files: true
84100

0 commit comments

Comments
 (0)