File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ linux:
13
13
# skip all but the basic tests
14
14
# (comment the below line in a PR to debug a Gitlab-specific issue)
15
15
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"
16
20
script :
17
21
- curl -sSL https://get.docker.com/ | sh
18
22
- docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all
@@ -26,6 +30,10 @@ windows:
26
30
PYTEST_ADDOPTS : -k "unit_test or test_0_basic" --suppress-no-test-exit-code
27
31
before_script :
28
32
- choco install python -y --version 3.12.4
33
+ rules :
34
+ - if : ' $CI_COMMIT_BRANCH == "main"'
35
+ variables :
36
+ CIBW_ENABLE : " all"
29
37
script :
30
38
- py -m pip install dependency-groups
31
39
- py -m pip install -e. pytest-custom-exit-code $(py -m dependency_groups test)
@@ -37,6 +45,10 @@ macos:
37
45
image : macos-14-xcode-15
38
46
variables :
39
47
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"
40
52
script :
41
53
- python3 -m pip install dependency-groups
42
54
- python3 -m dependency_groups test | xargs python3 -m pip install -e. pytest-custom-exit-code
You can’t perform that action at this time.
0 commit comments