Skip to content

Commit 24ca374

Browse files
authored
Switch to GitHub Arm runners (#514)
1 parent 5502a88 commit 24ca374

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,11 @@ jobs:
5555
runsOn: ubuntu-22.04
5656
platforms: linux/amd64,linux/arm64
5757

58-
# To save arm64 runner resources, we run the tests only on main
59-
# and only for full-stack image (same for integration tests below).
6058
test-arm64:
61-
if: >-
62-
github.repository == 'aiidalab/aiidalab-docker-stack'
63-
&& (github.ref_type == 'tag' || github.ref_name == 'main')
6459
needs: build
6560
uses: ./.github/workflows/test.yml
6661
with:
67-
runsOn: buildjet-4vcpu-ubuntu-2204-arm
62+
runsOn: ubuntu-22.04-arm
6863
images: ${{ needs.build.outputs.images }}
6964
target: full-stack
7065
integration: false
@@ -74,16 +69,8 @@ jobs:
7469
needs: build
7570
strategy:
7671
fail-fast: false
77-
# Trick to exclude arm64 tests from PRs
78-
# https://github.com/orgs/community/discussions/26253
7972
matrix:
80-
runner: [ubuntu-22.04, buildjet-4vcpu-ubuntu-2204-arm]
81-
isPR:
82-
- ${{ github.event_name == 'pull_request' }}
83-
exclude:
84-
- isPR: true
85-
runner: buildjet-4vcpu-ubuntu-2204-arm
86-
73+
runner: [ubuntu-22.04, ubuntu-22.04-arm]
8774
uses: ./.github/workflows/test.yml
8875
with:
8976
runsOn: ${{ matrix.runner }}

0 commit comments

Comments
 (0)