From 5784ffeb04256d337db1627fb731602547723cc0 Mon Sep 17 00:00:00 2001 From: "Jason K. Moore" Date: Sat, 22 Feb 2025 08:40:04 +0100 Subject: [PATCH 1/2] Reduce combination of os and python versions tested in CI. --- .github/workflows/tests.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e2eb6a91..38f9ceca 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,6 +17,11 @@ jobs: # macos-13 is the last intel based runner os: [ubuntu-latest, macos-13, macos-latest, windows-latest] python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] + # test all python versions on ubuntu, but only latest two on mac and + # windows + exclude: + - os: [macos-13, macos-latest, windows-latest] + - python-version: ['3.9', '3.10', '3.11'] defaults: run: shell: bash -el {0} From 07d32460aa7b40f046fdea8a9e89acd432ac2d87 Mon Sep 17 00:00:00 2001 From: "Jason K. Moore" Date: Sat, 22 Feb 2025 08:51:18 +0100 Subject: [PATCH 2/2] Correct exclude syntax. --- .github/workflows/tests.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 38f9ceca..a29f64bd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,8 +20,24 @@ jobs: # test all python versions on ubuntu, but only latest two on mac and # windows exclude: - - os: [macos-13, macos-latest, windows-latest] - - python-version: ['3.9', '3.10', '3.11'] + - os: macos-13 + python-version: '3.9' + - os: macos-13 + python-version: '3.10' + - os: macos-13 + python-version: '3.11' + - os: macos-latest + python-version: '3.9' + - os: macos-latest + python-version: '3.10' + - os: macos-latest + python-version: '3.11' + - os: windows-latest + python-version: '3.9' + - os: windows-latest + python-version: '3.10' + - os: windows-latest + python-version: '3.11' defaults: run: shell: bash -el {0}