Skip to content

Commit

Permalink
#133: ci: properly source before activating environments
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrepebay committed Dec 23, 2024
1 parent 0030760 commit 773734c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ci/setup_conda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ do
echo "::group::Create conda environment (py${python_version})"
conda create -y -n py${python_version} python=${python_version}

. $CONDA_PATH/etc/profile.d/conda.sh && conda activate py${python_version}
source $CONDA_PATH/etc/profile.d/conda.sh
conda activate py${python_version}

echo "Python version: $(python --version)"
pip install PyYAML
pip install Brotli
Expand Down

0 comments on commit 773734c

Please sign in to comment.