From f072ede2587f7dccc5918752857114c20641e760 Mon Sep 17 00:00:00 2001 From: Serge Koudoro Date: Mon, 25 Jul 2022 18:02:17 +0200 Subject: [PATCH] fix CI's typo --- tools/ci/activate_env.sh | 2 +- tools/ci/install.sh | 2 +- tools/ci/install_dependencies.sh | 2 +- tools/ci/run_tests.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/ci/activate_env.sh b/tools/ci/activate_env.sh index 0acc69c9c7d..fdde5756ad5 100755 --- a/tools/ci/activate_env.sh +++ b/tools/ci/activate_env.sh @@ -1,7 +1,7 @@ if [ -e venv/bin/activate ]; then source venv/bin/activate elif [ -e venv/Scripts/activate ]; then - source virtenv/Scripts/activate + source venv/Scripts/activate elif [ "$INSTALL_TYPE" == "conda" ]; then conda init bash source $CONDA/etc/profile.d/conda.sh diff --git a/tools/ci/install.sh b/tools/ci/install.sh index ac2c75e2f55..d81e394fa8e 100755 --- a/tools/ci/install.sh +++ b/tools/ci/install.sh @@ -7,7 +7,7 @@ set -ex PIPI="pip install --timeout=60" -if [ "$USE_PRE" == "1" ] || [ "$USE_PRE" = true ]; then +if [ "$USE_PRE" == "1" ] || [ "$USE_PRE" == true ]; then PIPI="$PIPI --extra-index-url=$PRE_WHEELS --pre"; fi diff --git a/tools/ci/install_dependencies.sh b/tools/ci/install_dependencies.sh index 040d1988445..812b10b475c 100755 --- a/tools/ci/install_dependencies.sh +++ b/tools/ci/install_dependencies.sh @@ -16,7 +16,7 @@ if [ "$INSTALL_TYPE" == "conda" ]; then else PIPI="pip install --timeout=60 " - if [ "$USE_PRE" == "1" ] || [ "$USE_PRE" = true ]; then + if [ "$USE_PRE" == "1" ] || [ "$USE_PRE" == true ]; then PIPI="$PIPI --extra-index-url=$PRE_WHEELS --pre"; fi diff --git a/tools/ci/run_tests.sh b/tools/ci/run_tests.sh index 1ddbcd78871..a841b2df9ec 100755 --- a/tools/ci/run_tests.sh +++ b/tools/ci/run_tests.sh @@ -14,7 +14,7 @@ cd for_testing cp ../setup.cfg . # No figure windows for mpl; quote to hide : from travis-ci yaml parsing echo "backend : agg" > matplotlibrc -if [ "$COVERAGE" == "1" ] || [ "$COVERAGE" = true ]; then +if [ "$COVERAGE" == "1" ] || [ "$COVERAGE" == true ]; then cp ../.coveragerc .; cp ../.codecov.yml .; # Run the tests and check for test coverage.