-
Notifications
You must be signed in to change notification settings - Fork 25
52 lines (50 loc) · 1.35 KB
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: 'Tests'
concurrency:
group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}
cancel-in-progress: true
on: # yamllint disable-line rule:truthy
push:
branches: ["master", "maint/*"]
pull_request:
branches: ["master", "maint/*"]
permissions:
contents: read
jobs:
pytest:
name: '${{ matrix.os }} / ${{ matrix.python }}'
timeout-minutes: 70
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -el {0}
env:
MNE_HCP_N_RUNS: '3'
SUBJECTS_DIR: '${{ github.workspace }}/subjects'
MNE_LOGGING_LEVEL: warning
strategy:
matrix:
include:
- os: ubuntu-latest
python: '3.8' # TODO: Bump to 3.12
# - os: macos-latest # arm64 (Apple Silicon)
# python: '3.12'
# kind: mamba
# - os: macos-13 # latest Intel release
# python: '3.12'
# kind: mamba
# - os: windows-latest
# python: '3.12'
# - os: ubuntu-20.04
# python: '3.8'
fail-fast: false
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- uses: pyvista/setup-headless-display-action@main
with:
qt: true
pyvista: false