Skip to content

Commit

Permalink
FIX: Windows is weird [skip azp] [skip cirrus] [skip circle]
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Jul 20, 2023
1 parent 4a4e8b2 commit 9ea1b79
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/github_actions_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ EXTRA_ARGS=""
if [ ! -z "$CONDA_ENV" ]; then
echo "Uninstalling MNE for CONDA_ENV=${CONDA_ENV}"
conda remove -c conda-forge --force -yq mne
pip uninstall -y mne
python -m pip uninstall -y mne
elif [ ! -z "$CONDA_DEPENDENCIES" ]; then
echo "Using Mamba to install CONDA_DEPENDENCIES=${CONDA_DEPENDENCIES}"
mamba install -y $CONDA_DEPENDENCIES
Expand Down Expand Up @@ -43,14 +43,14 @@ echo ""
# for compat_minimal and compat_old, we don't want to --upgrade
if [ ! -z "$CONDA_DEPENDENCIES" ]; then
echo "Installing dependencies for conda"
pip install -r requirements_base.txt -r requirements_testing.txt
python -m pip install -r requirements_base.txt -r requirements_testing.txt
else
echo "Installing dependencies using pip"
pip install $STD_ARGS $EXTRA_ARGS -r requirements_base.txt -r requirements_testing.txt -r requirements_hdf5.txt
python -m pip install $STD_ARGS $EXTRA_ARGS -r requirements_base.txt -r requirements_testing.txt -r requirements_hdf5.txt
fi
echo ""

if [ "${DEPS}" != "minimal" ]; then
echo "Installing non-minimal dependencies"
pip install $STD_ARGS $EXTRA_ARGS -r requirements_testing_extra.txt
python -m pip install $STD_ARGS $EXTRA_ARGS -r requirements_testing_extra.txt
fi

0 comments on commit 9ea1b79

Please sign in to comment.