FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
moabb/.github/workflows/test-braindecode.yml at develop · NotAFlightRisk/moabb · GitHub
NotAFlightRisk
moabb
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
moabb
/
.github
/
workflows
/
test-braindecode.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
67 lines (59 loc) · 1.81 KB
Breadcrumbs
moabb
/
.github
/
workflows
/
test-braindecode.yml
Copy path
File metadata and controls
67 lines (59 loc) · 1.81 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
name
:
Test-braindecode
concurrency
:
group
:
${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}
cancel-in-progress
:
true
on
:
push
:
branches
:
[ develop ]
pull_request
:
branches
:
[ develop ]
env
:
#
Install CPU-only PyTorch wheels (braindecode pulls torch). Avoids
#
pulling CUDA builds on CI.
UV_TORCH_BACKEND
:
cpu
jobs
:
test
:
name
:
dev ${{ matrix.os }}, py-${{ matrix.python-version }}
runs-on
:
${{ matrix.os }}
strategy
:
fail-fast
:
true
matrix
:
os
:
[ ubuntu-latest ]
python-version
:
["3.12"]
defaults
:
run
:
shell
:
bash
steps
:
-
uses
:
actions/checkout@v4
-
name
:
Install uv
uses
:
astral-sh/setup-uv@v5
with
:
python-version
:
${{ matrix.python-version }}
enable-cache
:
true
#
Cache MNE Data
-
name
:
Restore MNE Data Cache
id
:
cache-mne_data
uses
:
actions/cache/restore@v4
with
:
path
:
~/mne_data
key
:
${{ runner.os }}-mne-braindecode-v2
restore-keys
:
|
${{ runner.os }}-mne-braindecode-v1
-
name
:
Checkout Braindecode
uses
:
actions/checkout@v4
with
:
repository
:
braindecode/braindecode
path
:
braindecode
-
name
:
Install moabb, braindecode and run tests
run
:
|
uv pip install -e .
cd braindecode && uv pip install -e .[tests]
echo "Running tests"
uv pip install pytest-xdist
pytest test/ --quiet -n auto
-
name
:
Save MNE Data Cache
if
:
success() && steps.cache-mne_data.outputs.cache-hit != 'true' && github.event_name == 'push' && github.ref == 'refs/heads/develop'
uses
:
actions/cache/save@v4
with
:
path
:
~/mne_data
key
:
${{ runner.os }}-mne-braindecode-v2
Back
|
FazBrowse Home
|
New Git URL