44 pull_request :
55 types : [opened, synchronize, reopened]
66 push :
7- branches : [main, develop]
8-
7+ branches : [main, develop]
98jobs :
109 # Checks the style using the pre-commit hooks
1110 qa :
@@ -17,14 +16,21 @@ jobs:
1716 # Only then, normal testing proceeds
1817 unit-tests :
1918 needs : qa
20- runs-on : ubuntu-latest
19+ runs-on : ${{ matrix.os }}
20+
21+
22+ strategy :
23+ fail-fast : false
24+ matrix :
25+ os : [ubuntu-latest, macos-latest, windows-latest]
26+ python-version : ["3.8", "3.9"]
2127
2228 steps :
2329 - uses : actions/checkout@v3
24- - name : Set up Python 3.8
30+ - name : Set up Python ${{ matrix.python-version }}
2531 uses : actions/setup-python@v4
2632 with :
27- python-version : 3.8
33+ python-version : ${{ matrix.python-version }}
2834
2935 - name : Install dependencies
3036 run : |
@@ -48,14 +54,20 @@ jobs:
4854
4955 regression-tests :
5056 needs : qa
51- runs-on : ubuntu-latest
57+ runs-on : ${{ matrix.os }}
58+
59+ strategy :
60+ fail-fast : false
61+ matrix :
62+ os : [ubuntu-latest, macos-latest, windows-latest]
63+ python-version : ["3.8", "3.9"]
5264
5365 steps :
5466 - uses : actions/checkout@v3
55- - name : Set up Python 3.8
67+ - name : Set up Python ${{ matrix.python-version }}
5668 uses : actions/setup-python@v4
5769 with :
58- python-version : 3.8
70+ python-version : ${{ matrix.python-version }}
5971
6072 - name : Install dependencies
6173 run : |
0 commit comments