Skip to content

Commit

Permalink
ci: run zipapp tests on M1 macOS
Browse files Browse the repository at this point in the history
The macos-latest runner is significantly faster than even the
ubuntu-latest runners (11 minutes vs 17 minutes). Once the Windows jobs
are made faster in a separate commit, we should have (on average) 15
minute CI. ✨
  • Loading branch information
ichard26 committed Dec 26, 2024
1 parent c10dda5 commit 6838302
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,10 @@ jobs:

tests-zipapp:
name: tests / zipapp
runs-on: ubuntu-latest
# The macos-latest (M1) runners are the fastest available on GHA, even
# beating out the ubuntu-latest runners. The zipapp tests are slow by
# nature, and we don't care where they run, so we pick the fastest one.
runs-on: macos-latest

needs: [packaging, determine-changes]
if: >-
Expand All @@ -232,10 +235,8 @@ jobs:
with:
python-version: "3.10"

- name: Install Ubuntu dependencies
run: |
sudo apt-get update
sudo apt-get install bzr
- name: Install MacOS dependencies
run: brew install breezy subversion

- run: pip install nox

Expand Down

0 comments on commit 6838302

Please sign in to comment.