Skip to content

Commit 3a1a714

Browse files
authored
ci: run aarch64 tests on GitHub Actions (#530)
1 parent 5f7c341 commit 3a1a714

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,14 @@ jobs:
3737
run: pipx run nox -s test-dist -- 3.9
3838

3939
test:
40-
name: CPython ${{ matrix.python }}
40+
name: CPython ${{ matrix.python }} on ${{ matrix.runner }}
4141
needs: test-dist
42-
runs-on: ubuntu-latest
42+
runs-on: ${{ matrix.runner }}
4343
strategy:
4444
fail-fast: false
4545
matrix:
46-
include:
47-
- python: "3.9"
48-
- python: "3.10"
49-
- python: "3.11"
50-
- python: "3.12"
51-
- python: "3.13"
46+
runner: [ ubuntu-24.04, ubuntu-24.04-arm ]
47+
python: [ '3.9', '3.10', '3.11', '3.12', '3.13' ]
5248
steps:
5349
- name: Checkout
5450
uses: actions/checkout@v4
@@ -62,7 +58,6 @@ jobs:
6258
uses: actions/setup-python@v5
6359
with:
6460
python-version: "${{ matrix.python }}"
65-
architecture: x64
6661
allow-prereleases: true
6762
- name: Run tests
6863
run: pipx run nox -s tests-${{ matrix.python }}

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ branches:
99

1010
jobs:
1111
include:
12-
- arch: arm64
1312
- arch: ppc64le
1413
- arch: s390x
1514
allow_failures:
@@ -34,14 +33,14 @@ install:
3433
- gpgv ${HOME}/codecov.SHA256SUM.sig ${HOME}/codecov.SHA256SUM
3534
- pushd ${HOME} && shasum -a 256 -c codecov.SHA256SUM && popd
3635
- chmod +x ${HOME}/codecov
37-
- if [ "$(uname -m)" != "aarch64" ]; then qemu-x86_64-static ${HOME}/codecov --version; fi
36+
- qemu-x86_64-static ${HOME}/codecov --version
3837
- pip install nox
3938

4039
script:
4140
- nox -s tests-3.12
4241

4342
after_success:
44-
- if [ "$(uname -m)" != "aarch64" ]; then qemu-x86_64-static ${HOME}/codecov; fi
43+
- qemu-x86_64-static ${HOME}/codecov
4544

4645
cache:
4746
directories:

0 commit comments

Comments
 (0)