Skip to content

Commit 81d0c5c

Browse files
committed
fix test fro other than linix
1 parent 149ed67 commit 81d0c5c

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/tests.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,21 @@ on:
1010

1111
jobs:
1212
test:
13-
runs-on: ubuntu-latest
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
os: [ubuntu-latest, macos-latest, windows-latest]
18+
python-version: ["3.11", "3.12", "3.13"]
1419

1520
steps:
1621
- name: Checkout code
1722
uses: actions/checkout@v4
1823

19-
- name: Set up Python
20-
uses: actions/setup-python@v4
24+
- name: Set up Python ${{ matrix.python-version }}
25+
uses: actions/setup-python@v5
2126
with:
22-
python-version: "3.11"
27+
python-version: ${{ matrix.python-version }}
2328

2429
- name: Install dependencies
2530
run: |
@@ -34,4 +39,4 @@ jobs:
3439
uses: codecov/codecov-action@v5
3540
with:
3641
token: ${{ secrets.CODECOV_TOKEN }}
37-
42+
flags: ${{ matrix.os }}-py${{ matrix.python-version }}

0 commit comments

Comments
 (0)