File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed
Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -10,23 +10,19 @@ test_args=""
1010
1111source activate discretize-test
1212
13- if ${do_doc}
14- then
15- if ${is_azure}
16- then
13+ if [[ " $is_azure " == " true" ]]; then
14+ if [[ " $do_doc " == " true" ]]; then
1715 .ci/setup_headless_display.sh
1816 fi
1917fi
20- if ${do_cov}
21- then
18+ if [[ " do_cov" == " true" ]]; then
2219 echo " Testing with coverage"
2320 test_args=" --cov --cov-config=pyproject.toml $test_args "
2421fi
2522
2623pytest -vv $test_args
2724
28- if ${do_cov}
29- then
25+ if [[ " do_cov" == " true" ]]; then
3026 coverage xml
3127fi
3228
Original file line number Diff line number Diff line change 2222 echo " - python=" $PYTHON_VERSION >> environment_test_with_pyversion.yml
2323fi
2424
25- if [[ " $is_rc " == " true" ]]; then
25+ if [[ " $is_rc " == " true" ]]; then
2626 sed -i ' /^channels:/a\ - conda-forge/label/python_rc' environment_test_with_pyversion.yml
2727fi
2828conda env create --file environment_test_with_pyversion.yml
2929rm environment_test_with_pyversion.yml
3030
3131if [[ " $is_azure " == " true" ]]; then
32- then
3332 source activate discretize-test
3433 pip install pytest-azurepipelines
3534else
You can’t perform that action at this time.
0 commit comments