FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
moabb/.github/workflows/test.yml at develop · NeuralLabBIT/moabb · GitHub
NeuralLabBIT
moabb
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
moabb
/
.github
/
workflows
/
test.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
78 lines (67 loc) · 2.11 KB
Breadcrumbs
moabb
/
.github
/
workflows
/
test.yml
Copy path
File metadata and controls
78 lines (67 loc) · 2.11 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
68
69
70
71
72
73
74
75
76
77
78
name
:
Test
on
:
push
:
branches
:
[master]
pull_request
:
branches
:
[master]
jobs
:
test
:
name
:
${{ matrix.os }}, py-${{ matrix.python-version }}
runs-on
:
${{ matrix.os }}
strategy
:
fail-fast
:
true
matrix
:
os
:
[ubuntu-latest, windows-latest, macOS-latest]
python-version
:
["3.8", "3.9"]
defaults
:
run
:
shell
:
bash
steps
:
-
uses
:
actions/checkout@v3
-
name
:
Setup Python
uses
:
actions/setup-python@v4
with
:
python-version
:
${{ matrix.python-version }}
-
name
:
Install Poetry
uses
:
snok/install-poetry@v1
with
:
virtualenvs-create
:
true
virtualenvs-in-project
:
true
-
name
:
Load cached venv
if
:
runner.os != 'Windows'
id
:
cached-poetry-dependencies
uses
:
actions/cache@v3
with
:
path
:
.venv
key
:
venv-${{ matrix.os }}-py${{matrix.python-version}}-${{
hashFiles('**/poetry.lock') }}
-
name
:
Install dependencies
if
:
|
(runner.os != 'Windows') &&
(steps.cached-poetry-dependencies.outputs.cache-hit != 'true')
run
:
poetry install --no-interaction --no-root --with deeplearning
-
name
:
Install dependencies
if
:
|
(runner.os != 'Windows') &&
(steps.cached-poetry-dependencies.outputs.cache-hit != 'true')
run
:
poetry install --no-interaction --no-root --with deeplearning
-
name
:
Install library
run
:
poetry install --no-interaction --with deeplearning
-
name
:
Run tests
run
:
|
source $VENV
poetry run coverage run -m unittest moabb.tests
poetry run coverage xml
-
name
:
Run pipelines
run
:
|
source $VENV
poetry run python -m moabb.run --pipelines=./moabb/tests/test_pipelines/ --verbose
-
name
:
Upload Coverage to Codecov
uses
:
codecov/codecov-action@v3
if
:
success()
with
:
verbose
:
true
directory
:
/home/runner/work/moabb/moabb
files
:
./.coverage,coverage.xml
env_vars
:
OS,PYTHON
Back
|
FazBrowse Home
|
New Git URL