Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
vnherdeiro committed Sep 7, 2024
1 parent d33c56a commit 3215be9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -153,17 +153,17 @@ if [[ $TASK == "check-docs" ]] || [[ $TASK == "check-links" ]]; then
fi

if [[ $PYTHON_VERSION == "3.7" ]]; then
CONDA_REQUIREMENT_FILES="--file ${BUILD_DIRECTORY}/.ci/conda-envs/ci-core-py37.txt"
CONDA_REQUIREMENT_FILES="${BUILD_DIRECTORY}/.ci/conda-envs/ci-core-py37.txt"
elif [[ $PYTHON_VERSION == "3.8" ]]; then
CONDA_REQUIREMENT_FILES="--file ${BUILD_DIRECTORY}/.ci/conda-envs/ci-core-py38.txt"
CONDA_REQUIREMENT_FILES="${BUILD_DIRECTORY}/.ci/conda-envs/ci-core-py38.txt"
else
CONDA_REQUIREMENT_FILES="--file ${BUILD_DIRECTORY}/.ci/conda-envs/ci-core.txt"
CONDA_REQUIREMENT_FILES="${BUILD_DIRECTORY}/.ci/conda-envs/ci-core.txt"
fi

mamba create \
-y \
-n $CONDA_ENV \
"${CONDA_REQUIREMENT_FILES}" \
--file "${CONDA_REQUIREMENT_FILES}" \
"${CONDA_PYTHON_REQUIREMENT}" \
|| exit 1

Expand Down

0 comments on commit 3215be9

Please sign in to comment.