Visitar URL original
Merge pull request #417 from tomschr/gha-test-matrix · python-semver/python-semver@39774df · GitHub
Skip to content

Commit 39774df

Browse files
authored
Merge pull request #417 from tomschr/gha-test-matrix
GHA: Use matrix to test MacOS too
2 parents 72bf1c3 + ca1fcd9 commit 39774df

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

‎.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 }}

‎changelog.d/pr417.feature.rst‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Amend GitHub Actions to check against MacOS.

0 commit comments

Comments
 (0)