From 8b197ba361731920efd03df09ff2dbfe7a7cfbec Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Thu, 24 Oct 2024 02:19:31 +0200 Subject: [PATCH] CI: Improve test matrix configuration. Add macOS, both Intel and ARM. --- .github/workflows/test.yaml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 83c0d0a..19df8eb 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -12,13 +12,23 @@ concurrency: cancel-in-progress: true jobs: - build: - - runs-on: ubuntu-latest + test: + name: "Python ${{ matrix.python-version }} on ${{ matrix.os }}" + runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: - python-version: ["3.10", "3.11", "3.12", "pypy3.10"] + os: [ + "ubuntu-latest", + "macos-12", + "macos-latest", + ] + python-version: [ + "3.10", + "3.11", + "3.12", + "pypy3.10", + ] steps: - uses: actions/checkout@v3