Skip to content

Commit aca3336

Browse files
committed
ci: add mac and windows tests
1 parent 63bd43e commit aca3336

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/tests.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,31 +11,37 @@ on: # yamllint disable-line rule:truthy
1111
pull_request:
1212
branches: [develop]
1313
workflow_dispatch:
14+
workflow_call:
1415

1516
jobs:
1617
test:
17-
runs-on: ubuntu-latest
18+
runs-on: ${{ matrix.os }}
19+
1820
strategy:
1921
fail-fast: false
2022
matrix:
21-
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
23+
os: [ubuntu-latest, macos-latest, windows-latest]
24+
python-versions: ['3.10', '3.11', '3.12', '3.13', '3.14']
2225

2326
steps:
2427
- name: Checkout repository
2528
uses: actions/checkout@v6
2629
with:
2730
submodules: recursive
2831

29-
- name: Set up Python ${{ matrix.python-version }}
32+
- name: Set up Python ${{ matrix.python-versions }}
3033
uses: actions/setup-python@v6
3134
with:
32-
python-version: ${{ matrix.python-version }}
35+
python-version: ${{ matrix.python-versions }}
3336

34-
- name: Install dependencies
37+
- name: Install dependencies pytest
3538
run: |
36-
sudo apt-get update
3739
python -m pip install --upgrade pip
3840
python -m pip install pytest pytest-cov
41+
42+
- name: >
43+
Install package and dependencies
44+
run: >
3945
python -m pip install .
4046
4147
- name: Test with pytest

0 commit comments

Comments
 (0)