File tree 1 file changed +18
-0
lines changed
1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 16
16
docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all
17
17
python -m pip install dependency-groups
18
18
python -m dependency_groups test | xargs python -m pip install -e.
19
+ if [ "$(Build.SourceBranch)" = "refs/heads/main" ]; then
20
+ echo "INFO: Exporting CIBW_ENABLE=all for main branch test run."
21
+ export CIBW_ENABLE=all
22
+ else
23
+ echo "INFO: CIBW_ENABLE not set for this branch ($(Build.SourceBranch))."
24
+ fi
19
25
python ./bin/run_tests.py
20
26
21
27
- job : macos_311
27
33
- bash : |
28
34
python -m pip install dependency-groups
29
35
python -m dependency_groups test | xargs python -m pip install -e.
36
+ if [ "$(Build.SourceBranch)" = "refs/heads/main" ]; then
37
+ echo "INFO: Exporting CIBW_ENABLE=all for main branch test run."
38
+ export CIBW_ENABLE=all
39
+ else
40
+ echo "INFO: CIBW_ENABLE not set for this branch ($(Build.SourceBranch))."
41
+ fi
30
42
python ./bin/run_tests.py
31
43
32
44
- job : windows_311
39
51
- bash : |
40
52
python -m pip install dependency-groups
41
53
python -m dependency_groups test | xargs python -m pip install -e.
54
+ if [ "$(Build.SourceBranch)" = "refs/heads/main" ]; then
55
+ echo "INFO: Exporting CIBW_ENABLE=all for main branch test run."
56
+ export CIBW_ENABLE=all
57
+ else
58
+ echo "INFO: CIBW_ENABLE not set for this branch ($(Build.SourceBranch))."
59
+ fi
42
60
python ./bin/run_tests.py
You can’t perform that action at this time.
0 commit comments