Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CircleCI support #1576

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 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.11:
macos:
xcode: 12.5.1
environment:
PYTHON: python3
steps:
xcode: 15.1.0
resource_class: macos.x86.medium.gen2
steps: &macos-steps
- checkout

- run:
Expand All @@ -21,7 +20,6 @@ jobs:
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 +40,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 +58,6 @@ workflows:
version: 2
all-tests:
jobs:
- osx-python3.9
- macos-python3.11
- 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 venv venv
venv/bin/python -m pip install -e ".[dev]"
venv/bin/python -m pip freeze
venv/bin/python --version
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Usage
| Azure Pipelines | ✅ | ✅ | ✅ | | ✅² | ✅⁴ |
| Travis CI | ✅ | | ✅ | ✅ | | |
| AppVeyor | ✅ | ✅ | ✅ | | ✅² | ✅⁴ |
| CircleCI | ✅ | ✅ | | ✅ | ✅² | |
| CircleCI | ✅ | ✅ | | ✅ | ✅ | |
| Gitlab CI | ✅ | | ✅ | ✅¹ | | |
| Cirrus CI | ✅ | ✅³ | ✅ | ✅ | ✅ | |

Expand Down
Loading