File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,11 @@ permissions:
1717 contents : write
1818
1919env :
20- MPLBACKEND : ' agg'
20+ MPLBACKEND : agg
21+ QT_API : pyqt5
22+ # pytest-qt doesn't seem to be playing well when pyqt5 and pyside6
23+ # are installed in the same environment
24+ PYTEST_QT_API : pyqt5
2125 TEST_DEPS : pytest pytest-qt pytest-xdist pytest-rerunfailures pytest-mpl filelock
2226
2327jobs :
@@ -251,12 +255,8 @@ jobs:
251255 mamba install ${{ env.TEST_DEPS }}
252256
253257 - shell : bash -l {0}
254- # TODO: revisit at some point, to get it to work on linux (hyperspyui CI works fine...)
255- if : runner.os != 'linux' && always()
258+ if : always()
256259 name : Test new distribution (HyperSpyUI)
257- env :
258- # Specify pyqt5
259- QT_API : pyqt5
260260 run : |
261261 conda activate "${{ env.install_dir }}"
262262 pytest --pyargs hyperspyui
@@ -331,7 +331,6 @@ jobs:
331331 name : Run test kikuchipy
332332 if : always()
333333 env :
334- MPLBACKEND : agg
335334 # Need to specify pyside6 to avoid segmentation fault when running the kikuchipy test suite
336335 # quite brittle but there is currently alternative since kikuchipy install pysista and pyside6
337336 # which causes the segmentation when pyqt5 is imported before pyvista
You can’t perform that action at this time.
0 commit comments