Skip to content

Commit

Permalink
CI: Fix conda (mne-tools#10628)
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner authored May 13, 2022
1 parent 04d799d commit 549de12
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/linux_conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ on:
- '*'

jobs:
py39:
py310:
runs-on: ubuntu-20.04
name: 'linux conda 3.9'
name: 'linux conda 3.10'
defaults:
run:
shell: bash
Expand All @@ -23,7 +23,7 @@ jobs:
MNE_LOGGING_LEVEL: 'warning'
MKL_NUM_THREADS: '1'
PYTHONUNBUFFERED: '1'
PYTHON_VERSION: '3.9'
PYTHON_VERSION: '3.10'
steps:
- uses: actions/checkout@v2
- run: ./tools/setup_xvfb.sh
Expand All @@ -45,6 +45,10 @@ jobs:
- shell: bash -el {0}
run: ./tools/github_actions_install.sh
name: 'Install MNE'
- shell: bash -el {0}
run: |
QT_QPA_PLATFORM=xcb LIBGL_DEBUG=verbose LD_DEBUG=libs python -c "import pyvistaqt; pyvistaqt.BackgroundPlotter(show=True)"
name: 'Check Qt GL'
- shell: bash -el {0}
run: ./tools/github_actions_infos.sh
name: 'Show infos'
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ dependencies:
- nilearn
- python-picard
- qtpy
- pyqt!=5.15.3
- pyqt!=5.15.3,!=5.15.4
- mne
- mffpy>=0.5.7
- ipywidgets
Expand Down
2 changes: 1 addition & 1 deletion tools/setup_xvfb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ done

# This also includes the libraries necessary for PyQt5/PyQt6
sudo apt update
sudo apt install -yqq xvfb libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 libopengl0 libegl1
sudo apt install -yqq xvfb libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 libopengl0 libegl1 libosmesa6 mesa-utils
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1400x900x24 -ac +extension GLX +render -noreset

0 comments on commit 549de12

Please sign in to comment.