Skip to content

Commit d977104

Browse files
committed
Update gitlab to run CIBW_ENABLE=all on main
1 parent 82e1822 commit d977104

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.gitlab-ci.yml

+12
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ linux:
1313
# skip all but the basic tests
1414
# (comment the below line in a PR to debug a Gitlab-specific issue)
1515
PYTEST_ADDOPTS: -k "unit_test or test_0_basic" --suppress-no-test-exit-code
16+
rules:
17+
- if: '$CI_COMMIT_BRANCH == "main"'
18+
variables:
19+
CIBW_ENABLE: "all"
1620
script:
1721
- curl -sSL https://get.docker.com/ | sh
1822
- docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all
@@ -26,6 +30,10 @@ windows:
2630
PYTEST_ADDOPTS: -k "unit_test or test_0_basic" --suppress-no-test-exit-code
2731
before_script:
2832
- choco install python -y --version 3.12.4
33+
rules:
34+
- if: '$CI_COMMIT_BRANCH == "main"'
35+
variables:
36+
CIBW_ENABLE: "all"
2937
script:
3038
- py -m pip install dependency-groups
3139
- py -m pip install -e. pytest-custom-exit-code $(py -m dependency_groups test)
@@ -37,6 +45,10 @@ macos:
3745
image: macos-14-xcode-15
3846
variables:
3947
PYTEST_ADDOPTS: -k "unit_test or test_0_basic" --suppress-no-test-exit-code
48+
rules:
49+
- if: '$CI_COMMIT_BRANCH == "main"'
50+
variables:
51+
CIBW_ENABLE: "all"
4052
script:
4153
- python3 -m pip install dependency-groups
4254
- python3 -m dependency_groups test | xargs python3 -m pip install -e. pytest-custom-exit-code

0 commit comments

Comments
 (0)