From 5779c9b43edc213c0d33ddc690cb6351e1a4c98f Mon Sep 17 00:00:00 2001 From: "John T. Wodder II" Date: Tue, 23 Apr 2024 15:15:07 -0400 Subject: [PATCH] Exclude Python versions not available on ARM macOS --- .github/workflows/install-git-url.yml | 10 ++++++++++ .github/workflows/install-zip-url.yml | 10 ++++++++++ .github/workflows/test.yml | 10 ++++++++++ 3 files changed, 30 insertions(+) diff --git a/.github/workflows/install-git-url.yml b/.github/workflows/install-git-url.yml index 4a5bcd1..cf70b2d 100644 --- a/.github/workflows/install-git-url.yml +++ b/.github/workflows/install-git-url.yml @@ -37,6 +37,16 @@ jobs: - 'pypy-3.8' - 'pypy-3.9' - 'pypy-3.10' + exclude: + # Not available for ARM macOS: + - python-version: '3.7' + os: macos-latest + - python-version: '3.8' + os: macos-latest + - python-version: '3.9' + os: macos-latest + - python-version: 'pypy-3.7' + os: macos-latest steps: - name: Check out repository uses: actions/checkout@v4 diff --git a/.github/workflows/install-zip-url.yml b/.github/workflows/install-zip-url.yml index e9357ca..0ea33a5 100644 --- a/.github/workflows/install-zip-url.yml +++ b/.github/workflows/install-zip-url.yml @@ -37,6 +37,16 @@ jobs: - 'pypy-3.8' - 'pypy-3.9' - 'pypy-3.10' + exclude: + # Not available for ARM macOS: + - python-version: '3.7' + os: macos-latest + - python-version: '3.8' + os: macos-latest + - python-version: '3.9' + os: macos-latest + - python-version: 'pypy-3.7' + os: macos-latest steps: - name: Check out repository uses: actions/checkout@v4 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index eaf6ccc..9281824 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -44,6 +44,16 @@ jobs: - python-version: '3.7' toxenv: py-oldsetup os: ubuntu-latest + exclude: + # Not available for ARM macOS: + - python-version: '3.7' + os: macos-latest + - python-version: '3.8' + os: macos-latest + - python-version: '3.9' + os: macos-latest + - python-version: 'pypy-3.7' + os: macos-latest steps: - name: Check out repository uses: actions/checkout@v4