@@ -25,10 +25,10 @@ jobs:
2525 runs-on : ubuntu-latest
2626 timeout-minutes : 3
2727 steps :
28- - uses : actions/checkout@v4
28+ - uses : actions/checkout@v5
2929 with :
3030 persist-credentials : false
31- - uses : actions/setup-python@v5
31+ - uses : actions/setup-python@v6
3232 with :
3333 python-version : ' 3.13'
3434 -
uses :
pre-commit/[email protected] 5050 pytest :
5151 name : ' ${{ matrix.os }} / ${{ matrix.kind }} / ${{ matrix.python }}'
5252 needs : style
53- timeout-minutes : 90
53+ timeout-minutes : 120
5454 runs-on : ${{ matrix.os }}
5555 defaults :
5656 run :
@@ -75,23 +75,23 @@ jobs:
7575 - os : ubuntu-latest
7676 python : ' 3.13'
7777 kind : conda
78- - os : macos-latest # arm64 (Apple Silicon)
78+ - os : macos-latest # arm64 (Apple Silicon): Sequoia
7979 python : ' 3.13'
8080 kind : mamba
81- - os : macos-13 # latest Intel release
81+ - os : macos-15-intel # intel: Sequoia
8282 python : ' 3.13'
8383 kind : mamba
8484 - os : windows-latest
85- python : ' 3.10 '
85+ python : ' 3.11 '
8686 kind : mamba
8787 - os : ubuntu-latest
88- python : ' 3.10 '
88+ python : ' 3.12 '
8989 kind : minimal
9090 - os : ubuntu-22.04
9191 python : ' 3.10'
9292 kind : old
9393 steps :
94- - uses : actions/checkout@v4
94+ - uses : actions/checkout@v5
9595 with :
9696 fetch-depth : 0
9797 persist-credentials : false
@@ -118,7 +118,7 @@ jobs:
118118 pyvista : false
119119 wm : false
120120 # Python (if pip)
121- - uses : actions/setup-python@v5
121+ - uses : actions/setup-python@v6
122122 with :
123123 python-version : ${{ matrix.python }}
124124 if : startswith(matrix.kind, 'pip')
@@ -128,17 +128,30 @@ jobs:
128128 # For some reason on Linux we get crashes
129129 if [[ "$RUNNER_OS" == "Linux" ]]; then
130130 sed -i "/numba/d" environment.yml
131- elif [[ "$RUNNER_OS" == "macOS" ]]; then
132- sed -i "" "s/ - PySide6 .*/ - PySide6 <6.8/g" environment.yml
131+ fi
132+ # And on Windows and macOS PySide6.9.0 segfaults
133+ if [[ "$RUNNER_OS" == "macOS" ]]; then
134+ sed -i "" "s/ - PySide6 .*/ - PySide6 =6.9.2/g" environment.yml
135+ sed -i "" "s/ - vtk .*/ - vtk =9.5.1/g" environment.yml
136+
137+ else
138+ sed -i "s/ - PySide6 .*/ - PySide6 =6.9.2/g" environment.yml
139+ sed -i "s/ - vtk .*/ - vtk =9.5.1/g" environment.yml
140+ if [[ "$RUNNER_OS" == "Windows" ]]; then
141+ echo "MNE_IS_OSMESA=true" | tee -a $GITHUB_ENV
142+ fi
133143 fi
134144 if : matrix.kind == 'conda' || matrix.kind == 'mamba'
135145 - uses : mamba-org/setup-micromamba@v2
136146 with :
137147 environment-file : ${{ env.CONDA_ENV }}
138148 environment-name : mne
149+ log-level : ${{ runner.debug == '1' && 'debug' || 'info' }}
139150 create-args : >-
140151 python=${{ env.PYTHON_VERSION }}
152+ -v
141153 if : ${{ !startswith(matrix.kind, 'pip') }}
154+ timeout-minutes : 20
142155 - run : bash ./tools/github_actions_dependencies.sh
143156 # Minimal commands on Linux (macOS stalls)
144157 - run : bash ./tools/get_minimal_commands.sh
0 commit comments