Skip to content

Commit 82e1822

Browse files
committed
Azure pipelines - run with CIBW_ENABLE=all on main branch
1 parent a6155a2 commit 82e1822

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

azure-pipelines.yml

+18
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ jobs:
1616
docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all
1717
python -m pip install dependency-groups
1818
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
1925
python ./bin/run_tests.py
2026
2127
- job: macos_311
@@ -27,6 +33,12 @@ jobs:
2733
- bash: |
2834
python -m pip install dependency-groups
2935
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
3042
python ./bin/run_tests.py
3143
3244
- job: windows_311
@@ -39,4 +51,10 @@ jobs:
3951
- bash: |
4052
python -m pip install dependency-groups
4153
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
4260
python ./bin/run_tests.py

0 commit comments

Comments
 (0)