Skip to content

Commit

Permalink
ci: run zipapp tests on M1 macOS (#13130)
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 ~15 minute CI. ✨
  • Loading branch information
ichard26 authored Jan 11, 2025
1 parent 285ff72 commit cb56edb
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 @@ -216,7 +216,10 @@ jobs:
tests-zipapp:
name: tests / zipapp
runs-on: ubuntu-22.04
# 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 @@ -229,10 +232,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 cb56edb

Please sign in to comment.