From 0792dce709b0b631807556ae86352fa4c9047b35 Mon Sep 17 00:00:00 2001 From: HGSilveri Date: Tue, 23 Apr 2024 11:00:52 +0200 Subject: [PATCH 1/2] Test: Fix CI tests on "macos" --- .github/workflows/test.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d750bedd3..32547402b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,6 +5,7 @@ on: branches: - master - develop + pull_request: jobs: full-tests: @@ -15,8 +16,19 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest, windows-latest] + # Python 3.8 and 3.9 does not run on macos-latest (14) + # Uses macos-13 for 3.8 and 3.9 and macos-latest for >=3.10 + os: [ubuntu-latest, macos-13, macos-latest, windows-latest] python-version: ["3.8", "3.9", "3.10", "3.11"] + exclude: + - os: macos-latest + python-version: "3.8" + - os: macos-latest + python-version: "3.9" + - os: macos-13 + python-version: "3.10" + - os: macos-13 + python-version: "3.11" steps: - name: Check out Pulser uses: actions/checkout@v4 From 67cd9023d837ed57622b91500586adfea981f45c Mon Sep 17 00:00:00 2001 From: HGSilveri Date: Tue, 23 Apr 2024 11:08:40 +0200 Subject: [PATCH 2/2] Run only on push --- .github/workflows/test.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 32547402b..21f0184d1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,7 +5,6 @@ on: branches: - master - develop - pull_request: jobs: full-tests: