Skip to content

Commit 44840db

Browse files
committed
TEMP test ci
1 parent a0b4a48 commit 44840db

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/bats.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,20 +57,29 @@ jobs:
5757
steps:
5858
- name: Checkout
5959
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
60+
# c.f. https://github.com/actions/runner-images/issues/13358
61+
- name: Work around x86 macOS bug for multiple CPU cores
62+
run: |
63+
sudo defaults -currentHost write /Library/Preferences/com.apple.powerlogd SMCMonitorCadence 0
64+
sudo killall PerfPowerServices || true
6065
- name: Set up environment (download dependencies)
6166
run: |
6267
brew install docker colima
6368
brew install kind
6469
brew install golang
6570
brew install bats-core
6671
brew install kubectl
67-
LIMA_SSH_PORT_FORWARDER=true colima start
72+
LIMA_SSH_PORT_FORWARDER=true colima start --cpu 2 --memory 4
73+
- name: DEBUG CI
74+
run: |
75+
mkdir -p _artifacts
76+
kind create cluster -v 7 --config tests/kind.yaml --retain || true
77+
kind export logs ./_artifacts/logs
6878
- name: Bats tests
6979
env:
7080
TERM: linux
7181
run: |
72-
bash --version
73-
bats -o _artifacts --trace --verbose-run --formatter tap tests/
82+
bats -o _artifacts tests/
7483
- name: Debug info
7584
if: always()
7685
run: |

0 commit comments

Comments
 (0)