Skip to content

Commit dab0ee1

Browse files
authored
BUG: Fix ref bug using weakref (#145)
1 parent 1323fad commit dab0ee1

File tree

5 files changed

+265
-262
lines changed

5 files changed

+265
-262
lines changed

Diff for: .github/workflows/qt_viz_tests.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
run: | # use MNE main to ensure test files are available
7878
set -e
7979
python -m pip install --upgrade pip
80-
git clone -b ${MNE_BRANCH} --single-branch --depth=1 https://github.com/mne-tools/mne-python.git ../mne-python
80+
git clone -b ${MNE_BRANCH} --single-branch --depth=1 --branch main https://github.com/mne-tools/mne-python.git ../mne-python
8181
python -m pip install -qe ../mne-python
8282
python -m pip install -ve .${PIP_OPTION} -r requirements.txt -r requirements_testing.txt PyQt5
8383
- name: Downgrade pytest for mne==0.24
@@ -115,7 +115,7 @@ jobs:
115115
if: runner.os == 'Linux' && contains(matrix.opengl, 'opengl')
116116
- name: Show system information
117117
run: mne sys_info
118-
- run: pytest -m pgtest --cov=mne_qt_browser --cov-report=xml ../mne-python/mne/viz
118+
- run: pytest -m pgtest --cov=mne_qt_browser --cov-report=xml ../mne-python/mne/viz ../mne-python/mne/report
119119
name: Run MNE-Tests
120120
- run: pytest --error-for-skips mne_qt_browser/tests/test_pg_specific.py
121121
name: Run pyqtgraph-specific tests
@@ -171,7 +171,7 @@ jobs:
171171
run: | # use MNE main to ensure test files are available
172172
set -e
173173
python -m pip install --upgrade pip
174-
git clone -b ${MNE_BRANCH} --single-branch --depth=1 https://github.com/mne-tools/mne-python.git ../mne-python
174+
git clone -b ${MNE_BRANCH} --single-branch --depth=1 --branch main https://github.com/mne-tools/mne-python.git ../mne-python
175175
python -m pip install -qe ../mne-python
176176
python -m pip install -ve .${PIP_OPTION} -r requirements.txt -r requirements_testing.txt $QT_LIB
177177
- shell: bash -el {0}
@@ -197,7 +197,7 @@ jobs:
197197
mne sys_info -pd
198198
echo ${QT_LIB}:
199199
mne sys_info -pd | grep "^qtpy: .*{${QT_LIB}=.*}$"
200-
- run: pytest -m pgtest --cov=mne_qt_browser --cov-report=xml ../mne-python/mne/viz
200+
- run: pytest -m pgtest --cov=mne_qt_browser --cov-report=xml ../mne-python/mne/viz ../mne-python/mne/report
201201
name: Run MNE-Tests
202202
- run: pytest --error-for-skips mne_qt_browser/tests/test_pg_specific.py
203203
name: Run pyqtgraph-specific tests

0 commit comments

Comments
 (0)