Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run CI Tests on both MacOS Arm and x86 #12593

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 18 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,22 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, macos-12]
# Run on both x86 and Arm MacOS according to:
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
os: [ubuntu-latest, macos-12, macos-latest]
python:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
exclude:
# MacOS Arm failing on Python < 3.10
- os: macos-latest
python: "3.8"
- os: macos-latest
python: "3.9"

steps:
- uses: actions/checkout@v4
Expand All @@ -129,10 +137,16 @@ jobs:
sudo apt-get update
sudo apt-get install bzr

- name: Install MacOS dependencies
- name: Install MacOS x86 dependencies
if: matrix.os == 'macos-12'
run: brew install breezy

- name: Install MacOS Arm dependencies
if: matrix.os == 'macos-latest'
run: |
brew install breezy
brew install subversion

- run: pip install nox

# Main check
Expand All @@ -150,7 +164,7 @@ jobs:

tests-windows:
name: tests / ${{ matrix.python }} / ${{ matrix.os }} / ${{ matrix.group }}
runs-on: ${{ matrix.os }}-latest
runs-on: ${{ matrix.os }}

needs: [packaging, determine-changes]
if: >-
Expand All @@ -160,7 +174,7 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [Windows]
os: [windows-latest]
python:
- "3.8"
# Commented out, since Windows tests are expensively slow,
Expand Down
1 change: 1 addition & 0 deletions news/12593.trivial.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Enable MacOS ARM CI
Loading