Skip to content

Commit ad96cdb

Browse files
committed
Reenable tests for arm64
1 parent ae04bd7 commit ad96cdb

File tree

1 file changed

+30
-26
lines changed

1 file changed

+30
-26
lines changed

.github/workflows/test.yaml

Lines changed: 30 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -37,32 +37,36 @@ jobs:
3737
run: |
3838
GNUPGHOME=$HOME/.gnupg PYTHONPATH=image/tools:image/src pytest tests
3939
40-
# buildjet doesn't start the job most of the time
41-
# pytest_arm64:
42-
# runs-on: buildjet-2vcpu-ubuntu-2204-arm
43-
# name: pytest arm64
44-
# needs: pytest_amd64
45-
# steps:
46-
# - name: Checkout
47-
# uses: actions/checkout@v4
48-
# with:
49-
# persist-credentials: false
50-
#
51-
# - name: Install dependencies
52-
# run: |
53-
# python -m pip install --upgrade pip
54-
# pip install -r tests/requirements.txt
55-
#
56-
# gpg --recv-keys C874011F0AB405110D02105534365D9472D7468F \
57-
# && echo "C874011F0AB405110D02105534365D9472D7468F:6:" | gpg --import-ownertrust
58-
#
59-
# - name: Run tests
60-
# env:
61-
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
62-
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
63-
# TERRAFORM_ACTIONS_GITHUB_TOKEN: No
64-
# run: |
65-
# GNUPGHOME=$HOME/.gnupg PYTHONPATH=image/tools:image/src pytest tests
40+
pytest_arm64:
41+
runs-on: ubuntu-24.04-arm
42+
name: pytest arm64
43+
needs: pytest_amd64
44+
steps:
45+
- name: Checkout
46+
uses: actions/checkout@v4
47+
with:
48+
persist-credentials: false
49+
50+
- name: Set up Python
51+
uses: actions/setup-python@v4
52+
with:
53+
python-version: 3.9
54+
55+
- name: Install dependencies
56+
run: |
57+
python -m pip install --upgrade pip
58+
pip install -r tests/requirements.txt
59+
60+
gpg --recv-keys C874011F0AB405110D02105534365D9472D7468F \
61+
&& echo "C874011F0AB405110D02105534365D9472D7468F:6:" | gpg --import-ownertrust
62+
63+
- name: Run tests
64+
env:
65+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
66+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
67+
TERRAFORM_ACTIONS_GITHUB_TOKEN: No
68+
run: |
69+
GNUPGHOME=$HOME/.gnupg PYTHONPATH=image/tools:image/src pytest tests
6670
6771
docs:
6872
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)