From 8fbfaa5283e8a4c42ddb768a6bf59c3751ac4443 Mon Sep 17 00:00:00 2001 From: Lukas Burgholzer Date: Tue, 30 Apr 2024 02:36:58 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=F0=9F=94=A7=F0=9F=8D=8E=20enable?= =?UTF-8?q?=20Python=203.8+=20tests=20on=20macos-14=20runners=20(#597)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description GitHub's `macos-14` runners now also support Python 3.8 and 3.9. This PR adjusts the reusable workflows to remove the special handling that was in place previously. ## Checklist: - [x] The pull request only contains commits that are related to it. - [x] I have added appropriate tests and documentation. - [x] I have made sure that all CI jobs on GitHub pass. - [x] The pull request introduces no new warnings and follows the project's style guidelines. Signed-off-by: burgholzer --- .github/codecov.yml | 2 +- .github/workflows/reusable-python-ci.yml | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/codecov.yml b/.github/codecov.yml index 89aec7537..0826416d5 100644 --- a/.github/codecov.yml +++ b/.github/codecov.yml @@ -29,7 +29,7 @@ flag_management: - name: python paths: - "src/mqt/**/*.py" - after_n_builds: 10 + after_n_builds: 11 statuses: - type: project threshold: 0.5% diff --git a/.github/workflows/reusable-python-ci.yml b/.github/workflows/reusable-python-ci.yml index a0ed597e9..ba8c376b8 100644 --- a/.github/workflows/reusable-python-ci.yml +++ b/.github/workflows/reusable-python-ci.yml @@ -75,10 +75,7 @@ jobs: python-version: - ${{ fromJson(needs.dist.outputs.python-versions)[0] }} - ${{ needs.dist.outputs.max-python-version }} - runs-on: [macos-13] # test Intel architecture - include: - - runs-on: macos-14 # test Apple Silicon architecture - python-version: ${{ needs.dist.outputs.max-python-version }} # testing Apple Silicon on 3.8 is blocked by https://github.com/actions/setup-python/issues/808 + runs-on: [macos-13, macos-14] uses: ./.github/workflows/reusable-python-tests.yml with: runs-on: ${{ matrix.runs-on }}