Skip to content

Commit

Permalink
Try the macos ARM runners
Browse files Browse the repository at this point in the history
  • Loading branch information
joerick committed Nov 24, 2023
1 parent 00eeb67 commit 102914d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
20 changes: 12 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
version: 2

jobs:
osx-python3.9:
macos-python3.9:
macos:
xcode: 12.5.1
environment:
PYTHON: python3
steps:
xcode: 15.1.0
resource_class: medium
steps: &macos-steps
- checkout

- run:
Expand All @@ -17,11 +16,16 @@ jobs:
command: venv/bin/python ./bin/run_tests.py
no_output_timeout: 30m

macos-arm-python3.9:
macos:
xcode: 15.1.0
resource_class: arm.medium
steps: *macos-steps

linux-python3.9:
docker:
- image: circleci/python:3.9
environment:
PYTHON: python3
# Temporarily restrict the tests that are run on CircleCI to prevent
# test timeouts.
PYTEST_ADDOPTS: -k "unit_test or main_tests or test_0_basic or test_docker_images"
Expand All @@ -42,7 +46,6 @@ jobs:
image: ubuntu-2004:2022.04.1
resource_class: arm.medium
environment:
PYTHON: python3
# Temporarily restrict the tests that are run on CircleCI to prevent
# test timeouts.
PYTEST_ADDOPTS: -k "unit_test or main_tests or test_0_basic or test_docker_images"
Expand All @@ -61,6 +64,7 @@ workflows:
version: 2
all-tests:
jobs:
- osx-python3.9
- macos-python3.9
- macos-arm-python3.9
- linux-python3.9
- linux-aarch64
6 changes: 3 additions & 3 deletions .circleci/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
set -o errexit
set -o xtrace

$PYTHON --version
$PYTHON -m pip --version
$PYTHON -m virtualenv -p "$PYTHON" venv
python3 --version
python3 -m pip --version
python3 -m virtualenv -p "$PYTHON" venv
venv/bin/python -m pip install -e ".[dev]"
venv/bin/python -m pip freeze
venv/bin/python --version

0 comments on commit 102914d

Please sign in to comment.