Skip to content

Commit cb56edb

Browse files
authored
ci: run zipapp tests on M1 macOS (#13130)
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. ✨
1 parent 285ff72 commit cb56edb

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,10 @@ jobs:
216216
217217
tests-zipapp:
218218
name: tests / zipapp
219-
runs-on: ubuntu-22.04
219+
# The macos-latest (M1) runners are the fastest available on GHA, even
220+
# beating out the ubuntu-latest runners. The zipapp tests are slow by
221+
# nature, and we don't care where they run, so we pick the fastest one.
222+
runs-on: macos-latest
220223

221224
needs: [packaging, determine-changes]
222225
if: >-
@@ -229,10 +232,8 @@ jobs:
229232
with:
230233
python-version: "3.10"
231234

232-
- name: Install Ubuntu dependencies
233-
run: |
234-
sudo apt-get update
235-
sudo apt-get install bzr
235+
- name: Install MacOS dependencies
236+
run: brew install breezy subversion
236237

237238
- run: pip install nox
238239

0 commit comments

Comments
 (0)