Skip to content

Commit 4e5652a

Browse files
committed
GHA: Use matrix to test MacOS too
Related to issue #416
1 parent 72bf1c3 commit 4e5652a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/python-testing.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,10 @@ jobs:
6868
6969
tests:
7070
needs: check
71-
runs-on: ubuntu-latest
71+
runs-on: ${{ matrix.os }}
7272
strategy:
7373
max-parallel: 5
74+
fail-fast: true
7475
matrix:
7576
python-version: ["3.7",
7677
"3.8",
@@ -79,10 +80,11 @@ jobs:
7980
"3.11",
8081
# "3.12-dev"
8182
]
83+
os: [ubuntu-latest, "macos-latest"]
8284

8385
steps:
8486
- uses: actions/checkout@v3
85-
- name: Set up Python ${{ matrix.python-version }}
87+
- name: Set up Python ${{ matrix.python-version }} for ${{ matrix.os }}
8688
uses: actions/setup-python@v4
8789
with:
8890
python-version: ${{ matrix.python-version }}

0 commit comments

Comments
 (0)