Skip to content

Commit 9c7ecca

Browse files
committed
Disable CI for non-macOS platforms.
1 parent 094782a commit 9c7ecca

File tree

7 files changed

+167
-165
lines changed

7 files changed

+167
-165
lines changed

.circleci/config.yml

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -18,50 +18,50 @@ jobs:
1818
command: venv/bin/python ./bin/run_tests.py
1919
no_output_timeout: 30m
2020

21-
linux-python3.12:
22-
docker:
23-
- image: cimg/python:3.12
24-
environment:
25-
PYTHON: python3
26-
# Temporarily restrict the tests that are run on CircleCI to prevent
27-
# test timeouts.
28-
PYTEST_ADDOPTS: -k "unit_test or main_tests or test_0_basic or test_docker_images"
29-
steps:
30-
- checkout
31-
- setup_remote_docker
21+
# linux-python3.12:
22+
# docker:
23+
# - image: cimg/python:3.12
24+
# environment:
25+
# PYTHON: python3
26+
# # Temporarily restrict the tests that are run on CircleCI to prevent
27+
# # test timeouts.
28+
# PYTEST_ADDOPTS: -k "unit_test or main_tests or test_0_basic or test_docker_images"
29+
# steps:
30+
# - checkout
31+
# - setup_remote_docker
3232

33-
- run:
34-
name: Prepare the environment.
35-
command: bash .circleci/prepare.sh
36-
- run:
37-
name: Test.
38-
command: venv/bin/python ./bin/run_tests.py
39-
no_output_timeout: 30m
33+
# - run:
34+
# name: Prepare the environment.
35+
# command: bash .circleci/prepare.sh
36+
# - run:
37+
# name: Test.
38+
# command: venv/bin/python ./bin/run_tests.py
39+
# no_output_timeout: 30m
4040

41-
linux-aarch64:
42-
machine:
43-
image: default
44-
resource_class: arm.medium
45-
environment:
46-
PYTHON: python3
47-
# Temporarily restrict the tests that are run on CircleCI to prevent
48-
# test timeouts.
49-
PYTEST_ADDOPTS: -k "unit_test or main_tests or test_0_basic or test_docker_images"
50-
steps:
51-
- checkout
41+
# linux-aarch64:
42+
# machine:
43+
# image: default
44+
# resource_class: arm.medium
45+
# environment:
46+
# PYTHON: python3
47+
# # Temporarily restrict the tests that are run on CircleCI to prevent
48+
# # test timeouts.
49+
# PYTEST_ADDOPTS: -k "unit_test or main_tests or test_0_basic or test_docker_images"
50+
# steps:
51+
# - checkout
5252

53-
- run:
54-
name: Prepare the environment.
55-
command: bash .circleci/prepare.sh
56-
- run:
57-
name: Test.
58-
command: venv/bin/python ./bin/run_tests.py
59-
no_output_timeout: 30m
53+
# - run:
54+
# name: Prepare the environment.
55+
# command: bash .circleci/prepare.sh
56+
# - run:
57+
# name: Test.
58+
# command: venv/bin/python ./bin/run_tests.py
59+
# no_output_timeout: 30m
6060

6161
workflows:
6262
version: 2
6363
all-tests:
6464
jobs:
6565
- osx-python3.12
66-
- linux-python3.12
67-
- linux-aarch64
66+
# - linux-python3.12
67+
# - linux-aarch64

.cirrus.yml

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -7,58 +7,58 @@ run_tests: &RUN_TESTS
77
run_cibuildwheel_tests_script:
88
- python ./bin/run_tests.py
99

10-
linux_x86_task:
11-
timeout_in: 120m
12-
compute_engine_instance:
13-
image_project: cirrus-images
14-
image: family/docker-builder
15-
platform: linux
16-
cpu: 8
17-
memory: 8G
18-
env:
19-
VENV_ROOT: ${HOME}/venv-cibuildwheel
20-
PATH: ${VENV_ROOT}/bin:${PATH}
21-
install_pre_requirements_script:
22-
- docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all
23-
- add-apt-repository -y ppa:deadsnakes/ppa
24-
- apt-get update
25-
- apt-get install -y python3.12-venv
26-
- python3.12 -m venv ${VENV_ROOT}
27-
<<: *RUN_TESTS
10+
# linux_x86_task:
11+
# timeout_in: 120m
12+
# compute_engine_instance:
13+
# image_project: cirrus-images
14+
# image: family/docker-builder
15+
# platform: linux
16+
# cpu: 8
17+
# memory: 8G
18+
# env:
19+
# VENV_ROOT: ${HOME}/venv-cibuildwheel
20+
# PATH: ${VENV_ROOT}/bin:${PATH}
21+
# install_pre_requirements_script:
22+
# - docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all
23+
# - add-apt-repository -y ppa:deadsnakes/ppa
24+
# - apt-get update
25+
# - apt-get install -y python3.12-venv
26+
# - python3.12 -m venv ${VENV_ROOT}
27+
# <<: *RUN_TESTS
2828

29-
linux_aarch64_task:
30-
compute_engine_instance:
31-
image_project: cirrus-images
32-
image: family/docker-builder-arm64
33-
architecture: arm64
34-
platform: linux
35-
cpu: 4
36-
memory: 4G
37-
env:
38-
VENV_ROOT: ${HOME}/venv-cibuildwheel
39-
PATH: ${VENV_ROOT}/bin:${PATH}
40-
install_pre_requirements_script:
41-
- docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all
42-
- add-apt-repository -y ppa:deadsnakes/ppa
43-
- apt-get update
44-
- apt-get install -y python3.12-venv
45-
- python3.12 -m venv ${VENV_ROOT}
46-
<<: *RUN_TESTS
29+
# linux_aarch64_task:
30+
# compute_engine_instance:
31+
# image_project: cirrus-images
32+
# image: family/docker-builder-arm64
33+
# architecture: arm64
34+
# platform: linux
35+
# cpu: 4
36+
# memory: 4G
37+
# env:
38+
# VENV_ROOT: ${HOME}/venv-cibuildwheel
39+
# PATH: ${VENV_ROOT}/bin:${PATH}
40+
# install_pre_requirements_script:
41+
# - docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all
42+
# - add-apt-repository -y ppa:deadsnakes/ppa
43+
# - apt-get update
44+
# - apt-get install -y python3.12-venv
45+
# - python3.12 -m venv ${VENV_ROOT}
46+
# <<: *RUN_TESTS
4747

48-
windows_x86_task:
49-
# The task takes ~55 minutes while the timeout happens
50-
# after 60 minutes by default, let's allow some wiggle room.
51-
timeout_in: 120m
52-
windows_container:
53-
image: cirrusci/windowsservercore:visualstudio2022
54-
cpu: 8
55-
memory: 8G
48+
# windows_x86_task:
49+
# # The task takes ~55 minutes while the timeout happens
50+
# # after 60 minutes by default, let's allow some wiggle room.
51+
# timeout_in: 120m
52+
# windows_container:
53+
# image: cirrusci/windowsservercore:visualstudio2022
54+
# cpu: 8
55+
# memory: 8G
5656

57-
install_pre_requirements_script:
58-
- choco install -y --no-progress python3 --version 3.12.4
59-
- refreshenv
60-
- echo PATH=%PATH% >> "%CIRRUS_ENV%"
61-
<<: *RUN_TESTS
57+
# install_pre_requirements_script:
58+
# - choco install -y --no-progress python3 --version 3.12.4
59+
# - refreshenv
60+
# - echo PATH=%PATH% >> "%CIRRUS_ENV%"
61+
# <<: *RUN_TESTS
6262

6363
macos_arm64_task:
6464
macos_instance:

.github/workflows/test.yml

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,30 +17,31 @@ concurrency:
1717
cancel-in-progress: true
1818

1919
jobs:
20-
lint:
21-
name: Linters (mypy, flake8, etc.)
22-
runs-on: ubuntu-latest
23-
steps:
24-
- uses: actions/checkout@v4
25-
- uses: actions/setup-python@v5
26-
id: python
27-
with:
28-
python-version: "3.x"
29-
- uses: pre-commit/[email protected]
30-
- name: PyLint checks
31-
run: pipx run --python "${{ steps.python.outputs.python-path }}" nox -s pylint -- --output-format=github
20+
# lint:
21+
# name: Linters (mypy, flake8, etc.)
22+
# runs-on: ubuntu-latest
23+
# steps:
24+
# - uses: actions/checkout@v4
25+
# - uses: actions/setup-python@v5
26+
# id: python
27+
# with:
28+
# python-version: "3.x"
29+
# - uses: pre-commit/[email protected]
30+
# - name: PyLint checks
31+
# run: pipx run --python "${{ steps.python.outputs.python-path }}" nox -s pylint -- --output-format=github
3232

3333
test:
3434
name: Test on ${{ matrix.os }} (${{ matrix.python_version }})
35-
needs: lint
35+
# needs: lint
3636
runs-on: ${{ matrix.os }}
3737
strategy:
3838
matrix:
39-
os: [ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-13, macos-14]
39+
# os: [ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-13, macos-14]
40+
os: [macos-13, macos-14]
4041
python_version: ['3.13']
41-
include:
42-
- os: ubuntu-latest
43-
python_version: '3.11'
42+
# include:
43+
# - os: ubuntu-latest
44+
# python_version: '3.11'
4445
timeout-minutes: 180
4546
steps:
4647
- uses: actions/checkout@v4

.gitlab-ci.yml

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
1-
linux:
2-
image: python:3.12
3-
services:
4-
- name: docker:dind
5-
entrypoint: ["env", "-u", "DOCKER_HOST"]
6-
command: ["dockerd-entrypoint.sh"]
7-
variables:
8-
DOCKER_HOST: tcp://docker:2375/
9-
DOCKER_DRIVER: overlay2
10-
# See https://github.com/docker-library/docker/pull/166
11-
DOCKER_TLS_CERTDIR: ""
12-
13-
# skip all but the basic tests
14-
# (comment the below line in a PR to debug a Gitlab-specific issue)
15-
PYTEST_ADDOPTS: -k "unit_test or test_0_basic" --suppress-no-test-exit-code
16-
script:
17-
- curl -sSL https://get.docker.com/ | sh
18-
- docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all
19-
- python -m pip install dependency-groups
20-
- python -m dependency_groups test | xargs python -m pip install -e. pytest-custom-exit-code
21-
- python ./bin/run_tests.py
1+
# linux:
2+
# image: python:3.12
3+
# services:
4+
# - name: docker:dind
5+
# entrypoint: ["env", "-u", "DOCKER_HOST"]
6+
# command: ["dockerd-entrypoint.sh"]
7+
# variables:
8+
# DOCKER_HOST: tcp://docker:2375/
9+
# DOCKER_DRIVER: overlay2
10+
# # See https://github.com/docker-library/docker/pull/166
11+
# DOCKER_TLS_CERTDIR: ""
2212

23-
windows:
24-
image: mcr.microsoft.com/windows/servercore:1809
25-
variables:
26-
PYTEST_ADDOPTS: -k "unit_test or test_0_basic" --suppress-no-test-exit-code
27-
before_script:
28-
- choco install python -y --version 3.12.4
29-
script:
30-
- py -m pip install dependency-groups
31-
- py -m pip install -e. pytest-custom-exit-code $(py -m dependency_groups test)
32-
- py bin\run_tests.py
33-
tags:
34-
- saas-windows-medium-amd64
13+
# # skip all but the basic tests
14+
# # (comment the below line in a PR to debug a Gitlab-specific issue)
15+
# PYTEST_ADDOPTS: -k "unit_test or test_0_basic" --suppress-no-test-exit-code
16+
# script:
17+
# - curl -sSL https://get.docker.com/ | sh
18+
# - docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all
19+
# - python -m pip install dependency-groups
20+
# - python -m dependency_groups test | xargs python -m pip install -e. pytest-custom-exit-code
21+
# - python ./bin/run_tests.py
22+
#
23+
# windows:
24+
# image: mcr.microsoft.com/windows/servercore:1809
25+
# variables:
26+
# PYTEST_ADDOPTS: -k "unit_test or test_0_basic" --suppress-no-test-exit-code
27+
# before_script:
28+
# - choco install python -y --version 3.12.4
29+
# script:
30+
# - py -m pip install dependency-groups
31+
# - py -m pip install -e. pytest-custom-exit-code $(py -m dependency_groups test)
32+
# - py bin\run_tests.py
33+
# tags:
34+
# - saas-windows-medium-amd64
3535

3636
macos:
3737
image: macos-14-xcode-15

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ branches:
77
- main
88

99
# only build the main branch or PR that explicitely want to test with Travis CI
10-
if: (type = "push") OR (commit_message =~ /travis-ci/)
10+
# if: (type = "push") OR (commit_message =~ /travis-ci/)
11+
if: (commit_message =~ /travis-ci/)
1112

1213
jobs:
1314
include:

appveyor.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
environment:
22
matrix:
3-
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2204
4-
APPVEYOR_JOB_NAME: "python312-x64-ubuntu"
5-
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
6-
APPVEYOR_JOB_NAME: "python312-x64-vs2022"
3+
# - APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2204
4+
# APPVEYOR_JOB_NAME: "python312-x64-ubuntu"
5+
# - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
6+
# APPVEYOR_JOB_NAME: "python312-x64-vs2022"
77
- APPVEYOR_BUILD_WORKER_IMAGE: macos-sonoma
88
APPVEYOR_JOB_NAME: "python312-x64-macos"
99

azure-pipelines.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ pr:
55
- .pre-commit-config.yaml
66

77
jobs:
8-
- job: linux_311
9-
timeoutInMinutes: 120
10-
pool: {vmImage: 'Ubuntu-20.04'}
11-
steps:
12-
- task: UsePythonVersion@0
13-
inputs:
14-
versionSpec: '3.11'
15-
- bash: |
16-
docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all
17-
python -m pip install dependency-groups
18-
python -m dependency_groups test | xargs python -m pip install -e.
19-
python ./bin/run_tests.py
8+
# - job: linux_311
9+
# timeoutInMinutes: 120
10+
# pool: {vmImage: 'Ubuntu-20.04'}
11+
# steps:
12+
# - task: UsePythonVersion@0
13+
# inputs:
14+
# versionSpec: '3.11'
15+
# - bash: |
16+
# docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all
17+
# python -m pip install dependency-groups
18+
# python -m dependency_groups test | xargs python -m pip install -e.
19+
# python ./bin/run_tests.py
2020

2121
- job: macos_311
2222
pool: {vmImage: 'macOS-13'}
@@ -29,14 +29,14 @@ jobs:
2929
python -m dependency_groups test | xargs python -m pip install -e.
3030
python ./bin/run_tests.py --num-processes 2
3131
32-
- job: windows_311
33-
pool: {vmImage: 'windows-2019'}
34-
timeoutInMinutes: 180
35-
steps:
36-
- task: UsePythonVersion@0
37-
inputs:
38-
versionSpec: '3.11'
39-
- bash: |
40-
python -m pip install dependency-groups
41-
python -m dependency_groups test | xargs python -m pip install -e.
42-
python ./bin/run_tests.py
32+
# - job: windows_311
33+
# pool: {vmImage: 'windows-2019'}
34+
# timeoutInMinutes: 180
35+
# steps:
36+
# - task: UsePythonVersion@0
37+
# inputs:
38+
# versionSpec: '3.11'
39+
# - bash: |
40+
# python -m pip install dependency-groups
41+
# python -m dependency_groups test | xargs python -m pip install -e.
42+
# python ./bin/run_tests.py

0 commit comments

Comments
 (0)