75
75
python-version : ${{ env.PYTHON_VERSION }}
76
76
- name : Install dependencies
77
77
run : | # use MNE main to ensure test files are available
78
- set -e
78
+ set -eo pipefail
79
79
python -m pip install --upgrade pip
80
80
git clone -b ${MNE_BRANCH} --single-branch --branch main https://github.com/mne-tools/mne-python.git ../mne-python
81
81
python -m pip install -qe ../mne-python
85
85
PIP_OPTION="[tests]"
86
86
fi
87
87
python -m pip install -ve .${PIP_OPTION} PyQt5
88
- - shell : bash -el {0}
89
- run : ./tools/get_testing_version.sh
88
+ - run : ./tools/get_testing_version.sh
90
89
name : ' Get testing version'
91
90
working-directory : ../mne-python
92
91
- uses : actions/cache@v3
@@ -159,7 +158,7 @@ jobs:
159
158
python-version : ${{ env.PYTHON_VERSION }}
160
159
- name : Install dependencies
161
160
run : | # use MNE main to ensure test files are available
162
- set -e
161
+ set -eo pipefail
163
162
python -m pip install --upgrade pip
164
163
git clone -b ${MNE_BRANCH} --single-branch --branch main https://github.com/mne-tools/mne-python.git ../mne-python
165
164
python -m pip install -qe ../mne-python
@@ -176,7 +175,10 @@ jobs:
176
175
PIP_OPTION="[tests]"
177
176
fi
178
177
python -m pip install -ve .${PIP_OPTION} ${QT_LIB_INSTALL}
179
- - shell : bash -el {0}
178
+ - name : Patch MNE 1.4 test
179
+ if : ${{ matrix.mne == '1.4' }}
180
+ run : patch -d ../mne-python < .github/workflows/mne_1_4.patch
181
+ - shell : bash -e {0}
180
182
run : ./tools/get_testing_version.sh
181
183
name : ' Get testing version'
182
184
working-directory : ../mne-python
0 commit comments