Skip to content

Commit 184cee8

Browse files
committed
update mac job
1 parent 64f4157 commit 184cee8

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/bats.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,18 @@ jobs:
5252
./_artifacts-custom-network
5353
5454
bats_mac_tests:
55-
runs-on: macos-13
55+
runs-on: macos-15-intel
5656
name: Bats e2e tests on Mac
57-
# Skip until port forwarding works
57+
# Skip until runner does not timeout on kind create cluster
5858
if: false
5959
steps:
6060
- name: Checkout
6161
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
62+
# c.f. https://github.com/actions/runner-images/issues/13358
63+
- name: Work around x86 macOS bug for multiple CPU cores
64+
run: |
65+
sudo defaults -currentHost write /Library/Preferences/com.apple.powerlogd SMCMonitorCadence 0
66+
sudo killall PerfPowerServices || true
6267
- name: Set up environment (download dependencies)
6368
run: |
6469
brew install docker colima
@@ -71,7 +76,6 @@ jobs:
7176
env:
7277
TERM: linux
7378
run: |
74-
bash --version
7579
bash -c "time bats -o _artifacts --trace --formatter tap tests/"
7680
- name: Debug info
7781
if: always()
@@ -84,5 +88,5 @@ jobs:
8488
if: always()
8589
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
8690
with:
87-
name: kind-logs-${{ env.JOB_NAME }}-${{ github.run_id }}
91+
name: kind-logs-mac-${{ github.run_id }}
8892
path: ./_artifacts

0 commit comments

Comments
 (0)