File tree Expand file tree Collapse file tree 2 files changed +14
-9
lines changed
Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -6,32 +6,29 @@ is_azure=$(echo "${TF_BUILD:-false}" | tr '[:upper:]' '[:lower:]')
66do_doc=$( echo " ${DOC_BUILD:- false} " | tr ' [:upper:]' ' [:lower:]' )
77is_free_threaded=$( echo " ${PYTHON_FREETHREADING:- false} " | tr ' [:upper:]' ' [:lower:]' )
88is_rc=$( echo " ${PYTHON_RELEASE_CANDIDATE:- false} " | tr ' [:upper:]' ' [:lower:]' )
9+ is_bare=$( echo " ${ENVIRON_BARE:- false} " | tr ' [:upper:]' ' [:lower:]' )
910
10- if ${is_azure}
11- then
12- if ${do_doc}
13- then
11+ if [[ " $is_azure " == " true" ]]; then
12+ if [[ " $do_doc " == " true" ]]; then
1413 .ci/setup_headless_display.sh
1514 fi
1615fi
1716
18- if ${is_free_threaded}
19- then
17+ if [[ " $is_free_threaded " == " true" || " $is_bare " == " true" ]]; then
2018 cp .ci/environment_test_bare.yml environment_test_with_pyversion.yml
2119 echo " - python-freethreading=" $PYTHON_VERSION >> environment_test_with_pyversion.yml
2220else
2321 cp .ci/environment_test.yml environment_test_with_pyversion.yml
2422 echo " - python=" $PYTHON_VERSION >> environment_test_with_pyversion.yml
2523fi
2624
27- if ${is_rc}
28- then
25+ if [[ " $is_rc " == " true" ]]; then
2926 sed -i ' /^channels:/a\ - conda-forge/label/python_rc' environment_test_with_pyversion.yml
3027fi
3128conda env create --file environment_test_with_pyversion.yml
3229rm environment_test_with_pyversion.yml
3330
34- if ${ is_azure}
31+ if [[ " $ is_azure" == " true " ]] ; then
3532then
3633 source activate discretize-test
3734 pip install pytest-azurepipelines
Original file line number Diff line number Diff line change @@ -15,14 +15,17 @@ jobs:
1515 linux-Python313t :
1616 image : ubuntu-latest
1717 python.version : ' 3.13'
18+ environ.bare : True
1819 python.freethreading : True
1920 coverage : True
2021 linux-Python314 :
2122 image : ubuntu-latest
23+ environ.bare : True
2224 python.version : ' 3.14'
2325 linux-Python314t :
2426 image : ubuntu-latest
2527 python.version : ' 3.14'
28+ environ.bare : True
2629 python.freethreading : True
2730 osx-Python311 :
2831 image : macOS-latest
4043 osx-Python314 :
4144 image : macOS-latest
4245 python.version : ' 3.14'
46+ environ.bare : True
4347 osx-Python314t :
4448 image : macOS-latest
4549 python.version : ' 3.14'
50+ environ.bare : True
4651 python.freethreading : True
4752 win-Python311 :
4853 image : windows-latest
@@ -56,13 +61,16 @@ jobs:
5661 win-Python313t :
5762 image : windows-latest
5863 python.version : ' 3.13'
64+ environ.bare : True
5965 python.freethreading : True
6066 win-Python314 :
6167 image : windows-latest
68+ environ.bare : True
6269 python.version : ' 3.14'
6370 win-Python314t :
6471 image : windows-latest
6572 python.version : ' 3.14'
73+ environ.bare : True
6674 python.freethreading : True
6775 displayName : " ${{ variables.image }} ${{ variables.python.version }}"
6876 pool :
You can’t perform that action at this time.
0 commit comments