Skip to content

Commit 4025a14

Browse files
committed
Remove PREFIX strategy
1 parent ea8861d commit 4025a14

5 files changed

Lines changed: 6 additions & 8 deletions

File tree

tools/github_actions_dependencies.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@ else
6666
echo "::group::Installing MNE in development mode using pip"
6767
fi
6868
set -x
69-
${PREFIX} python -m pip install $STD_ARGS $INSTALL_ARGS .$EXTRAS $GROUP_ARG
69+
python -m pip install $STD_ARGS $INSTALL_ARGS .$EXTRAS $GROUP_ARG
7070
set +x
7171
echo "::endgroup::"

tools/github_actions_download.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
# TODO: I think that DEPS is cruft. Its not set anywhere??
44
if [ "${MNE_CI_KIND}" != "minimal" ]; then
5-
${PREFIX} python -c 'import mne; mne.datasets.testing.data_path(verbose=True)';
6-
${PREFIX} python -c "import mne; mne.datasets.misc.data_path(verbose=True)";
5+
python -c 'import mne; mne.datasets.testing.data_path(verbose=True)';
6+
python -c "import mne; mne.datasets.misc.data_path(verbose=True)";
77
fi

tools/github_actions_env_vars.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ else # conda-like or pixi
2323
echo "CONDA_ENV=tools/environment_minimal.yml" | tee -a $GITHUB_ENV
2424
echo "MNE_QT_BACKEND=PySide6" | tee -a $GITHUB_ENV
2525
else # conda, mamba, pixi (use warning level for completeness)
26-
if [[ "$MNE_CI_KIND" == "pixi" ]]; then
27-
echo "PREFIX=pixi run" | tee -a $GITHUB_ENV;
28-
else
26+
if [[ "$MNE_CI_KIND" != "pixi" ]]; then
2927
echo "CONDA_ENV=environment.yml" | tee -a $GITHUB_ENV
3028
fi
3129

tools/github_actions_infos.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
which mne
44
mne sys_info -pd
5-
${PREFIX} python -c "import numpy; numpy.show_config()"
5+
python -c "import numpy; numpy.show_config()"

tools/github_actions_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ if [[ ! -z "$CONDA_ENV" ]] && [[ "${RUNNER_OS}" != "Windows" ]] && [[ "${MNE_CI_
3636
fi
3737

3838
set -x
39-
${PREFIX} pytest -m "${CONDITION}" --cov=mne --cov-report xml --color=yes --continue-on-collection-errors --junit-xml=$JUNIT_PATH -vv ${USE_DIRS}
39+
pytest -m "${CONDITION}" --cov=mne --cov-report xml --color=yes --continue-on-collection-errors --junit-xml=$JUNIT_PATH -vv ${USE_DIRS}
4040
echo "Exited with code $?"

0 commit comments

Comments
 (0)