Skip to content

Commit abc6e36

Browse files
committed
Test on three operating systems
1 parent f30fec8 commit abc6e36

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

.github/workflows/test.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,24 @@ env:
1313
jobs:
1414
integration:
1515
name: Integration test
16-
runs-on: ubuntu-latest
16+
runs-on: ${{ matrix.os }}
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
python-version:
21+
- "3.13"
22+
- "3.14"
23+
os: [windows-latest, macos-latest, ubuntu-latest]
1724
steps:
1825
- uses: actions/checkout@v4
1926
with:
2027
persist-credentials: false
21-
- uses: actions/setup-python@v5
28+
29+
- name: Set up Python ${{ matrix.python-version }}
30+
uses: actions/setup-python@v5
2231
with:
23-
python-version: "3.13"
32+
python-version: ${{ matrix.python-version }}
33+
allow-prereleases: true
2434

2535
- name: Set up requirements
2636
run: |
@@ -41,13 +51,14 @@ jobs:
4151
4252
unit:
4353
name: Unit tests
44-
runs-on: ubuntu-latest
54+
runs-on: ${{ matrix.os }}
4555
strategy:
4656
fail-fast: false
4757
matrix:
4858
python-version:
4959
- "3.13"
5060
- "3.14"
61+
os: [windows-latest, macos-latest, ubuntu-latest]
5162

5263
steps:
5364
- uses: actions/checkout@v4
@@ -69,5 +80,6 @@ jobs:
6980
- name: Upload coverage
7081
uses: codecov/codecov-action@v5
7182
with:
83+
flags: ${{ matrix.os }}
7284
name: Python ${{ matrix.python-version }}
7385
token: ${{ secrets.CODECOV_ORG_TOKEN }}

0 commit comments

Comments
 (0)