Skip to content

Commit b5a0158

Browse files
authored
ci: run tests on arm64 (#3750)
* ci: run tests on arm64 * ci: runner name should be arm, not arm64 * ci: retain old job name to not mess with CI protection rules * ci: integration test should not use plural form
1 parent acbdee4 commit b5a0158

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,11 @@ defaults:
2121
jobs:
2222
unit-test:
2323
if: github.repository_owner == 'getsentry'
24-
runs-on: ubuntu-22.04
25-
name: "unit tests"
24+
runs-on: ${{ matrix.os }}
25+
strategy:
26+
matrix:
27+
os: [ubuntu-24.04, ubuntu-24.04-arm]
28+
name: ${{ matrix.os == 'ubuntu-24.04-arm' && 'unit tests (arm64)' || 'unit tests' }}
2629
steps:
2730
- name: Checkout
2831
uses: actions/checkout@v4
@@ -35,8 +38,11 @@ jobs:
3538

3639
integration-test:
3740
if: github.repository_owner == 'getsentry'
38-
runs-on: ubuntu-22.04
39-
name: integration test
41+
runs-on: ${{ matrix.os }}
42+
strategy:
43+
matrix:
44+
os: [ubuntu-24.04, ubuntu-24.04-arm]
45+
name: ${{ matrix.os == 'ubuntu-24.04-arm' && 'integration test (arm64)' || 'integration test' }}
4046
env:
4147
REPORT_SELF_HOSTED_ISSUES: 0
4248
SELF_HOSTED_TESTING_DSN: ${{ vars.SELF_HOSTED_TESTING_DSN }}

0 commit comments

Comments
 (0)