CI: Improve test matrix configuration. Add macOS, both Intel and ARM.

This commit is contained in:
Andreas Motl
2024-10-24 02:19:31 +02:00
committed by Andreas Motl
parent e700aa2937
commit 8b197ba361
+14 -4
View File
@@ -12,13 +12,23 @@ concurrency:
cancel-in-progress: true cancel-in-progress: true
jobs: jobs:
build: test:
name: "Python ${{ matrix.python-version }} on ${{ matrix.os }}"
runs-on: ubuntu-latest runs-on: ${{ matrix.os }}
strategy: strategy:
fail-fast: false fail-fast: false
matrix: 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: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3