workflows: Only test old Pythons on linux

* This fixes current CI (new mac runners do not have old pythons)
* This is also sensible: running the complete matrix seems wasteful

Signed-off-by: Jussi Kukkonen <jkukkonen@google.com>
This commit is contained in:
Jussi Kukkonen 2024-04-24 20:48:44 +03:00
parent ffc1c3f41f
commit 5f854b6440

View file

@ -37,7 +37,12 @@ jobs:
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest]
include:
- python-version: "3.12"
os: macos-latest
- python-version: "3.12"
os: windows-latest
runs-on: ${{ matrix.os }}