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
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