forked from mne-tools/mne-python
-
Notifications
You must be signed in to change notification settings - Fork 0
82 lines (80 loc) · 2.23 KB
/
linux_pip.yml
File metadata and controls
82 lines (80 loc) · 2.23 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
name: 'linux / pip'
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
check_skip:
runs-on: ubuntu-20.04
outputs:
skip: ${{ steps.result_step.outputs.ci-skip }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- id: result_step
uses: mstachniuk/ci-skip@master
with:
commit-filter: '[skip ci];[ci skip];[skip github]'
commit-filter-separator: ';'
# PIP + non-default stim channel + log level info
job:
needs: check_skip
if: ${{ needs.check_skip.outputs.skip == 'false' }}
name: 'py3.9'
runs-on: ubuntu-20.04
defaults:
run:
shell: bash
env:
DISPLAY: ':99.0'
MNE_LOGGING_LEVEL: 'info'
MNE_STIM_CHANNEL: 'STI101'
OPENBLAS_NUM_THREADS: '1'
PYTHONUNBUFFERED: '1'
PYTHON_VERSION: '3.9'
steps:
- uses: actions/checkout@v2
- run: ./tools/setup_xvfb.sh
name: 'Setup xvfb'
- uses: actions/setup-python@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
name: 'Setup python'
- shell: bash -el {0}
run: |
./tools/github_actions_dependencies.sh
source tools/get_minimal_commands.sh
name: 'Install dependencies'
- shell: bash -el {0}
run: mne_surf2bem --version
name: 'Check minimal commands'
- shell: bash -el {0}
run: ./tools/github_actions_install.sh
name: 'Install MNE'
- shell: bash -el {0}
run: ./tools/github_actions_infos.sh
name: 'Show infos'
- shell: bash -el {0}
run: ./tools/get_testing_version.sh
name: 'Get testing version'
- uses: actions/cache@v2
with:
key: ${{ env.TESTING_VERSION }}
path: ~/mne_data
name: 'Cache testing data'
- shell: bash -el {0}
run: ./tools/github_actions_download.sh
name: 'Download testing data'
- shell: bash -el {0}
run: ./tools/github_actions_locale.sh
name: 'Print locale'
- shell: bash -el {0}
run: ./tools/github_actions_test.sh
name: 'Run tests'
- uses: codecov/codecov-action@v1
if: success()
name: 'Upload coverage to CodeCov'