Skip to content

Commit 4c30621

Browse files
committed
add linux-aarch64 to circleci tests
1 parent 76b3bfc commit 4c30621

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.circleci/config.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,30 @@ jobs:
3737
command: venv/bin/python ./bin/run_tests.py
3838
no_output_timeout: 30m
3939

40+
linux-aarch64:
41+
machine:
42+
image: ubuntu-2004:2022.04.1
43+
resource_class: arm.medium
44+
environment:
45+
PYTHON: python3
46+
# Temporarily restrict the tests that are run on CircleCI to prevent
47+
# test timeouts.
48+
PYTEST_ADDOPTS: -k "unit_test or main_tests or test_0_basic or test_docker_images"
49+
steps:
50+
- checkout
51+
52+
- run:
53+
name: Prepare the environment.
54+
command: bash .circleci/prepare.sh
55+
- run:
56+
name: Test.
57+
command: venv/bin/python ./bin/run_tests.py
58+
no_output_timeout: 30m
59+
4060
workflows:
4161
version: 2
4262
all-tests:
4363
jobs:
4464
- osx-python3.9
4565
- linux-python3.9
66+
- linux-aarch64

0 commit comments

Comments
 (0)