From ca1fcd9ad9e26b6cd2f89a391cb4c635360e2522 Mon Sep 17 00:00:00 2001 From: Tom Schraitle Date: Fri, 30 Jun 2023 12:45:05 +0200 Subject: [PATCH] GHA: Use matrix to test MacOS too Related to issue #416 --- .github/workflows/python-testing.yml | 6 ++++-- changelog.d/pr417.feature.rst | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 changelog.d/pr417.feature.rst diff --git a/.github/workflows/python-testing.yml b/.github/workflows/python-testing.yml index 8f32ffd1..a6b51d73 100644 --- a/.github/workflows/python-testing.yml +++ b/.github/workflows/python-testing.yml @@ -68,9 +68,10 @@ jobs: tests: needs: check - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: max-parallel: 5 + fail-fast: true matrix: python-version: ["3.7", "3.8", @@ -79,10 +80,11 @@ jobs: "3.11", # "3.12-dev" ] + os: [ubuntu-latest, "macos-latest"] steps: - uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} + - name: Set up Python ${{ matrix.python-version }} for ${{ matrix.os }} uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} diff --git a/changelog.d/pr417.feature.rst b/changelog.d/pr417.feature.rst new file mode 100644 index 00000000..c33a3704 --- /dev/null +++ b/changelog.d/pr417.feature.rst @@ -0,0 +1 @@ +Amend GitHub Actions to check against MacOS.