File tree Expand file tree Collapse file tree 4 files changed +13
-1
lines changed Expand file tree Collapse file tree 4 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -244,6 +244,7 @@ jobs:
244
244
make test-doc;
245
245
mkdir -p doc/_build/test-results/test-doc;
246
246
cp junit-results.xml doc/_build/test-results/test-doc/junit.xml;
247
+ cp coverage.xml doc/_build/test-results/test-doc/coverage.xml;
247
248
fi;
248
249
# Build docs
249
250
- run :
@@ -288,6 +289,15 @@ jobs:
288
289
- store_artifacts :
289
290
path : doc/_build/test-results
290
291
destination : test-results
292
+ # Upload test results to Codecov
293
+ - run :
294
+ name : Upload test results to Codecov
295
+ environment :
296
+ CODECOV_TOKEN : fb4c4a94-72d7-4743-bb08-af25b623a29a
297
+ command : |
298
+ if [[ -f doc/_build/test-results/test-doc/coverage.xml ]]; then
299
+ bash <(curl -s https://codecov.io/bash) -f doc/_build/test-results/test-doc/coverage.xml
300
+ fi
291
301
# Save the SG RST
292
302
- store_artifacts :
293
303
path : doc/auto_examples.zip
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ test-no-testing-data: in
41
41
$(PYTESTS ) mne
42
42
43
43
test-doc : sample_data testing_data
44
- $(PYTESTS ) --doctest-modules --doctest-ignore-import-errors --doctest-glob=' *.rst' ./doc/ --ignore=./doc/auto_examples --ignore=./doc/auto_tutorials --ignore=./doc/_build --ignore=./doc/conf.py --ignore=doc/sphinxext --fulltrace
44
+ $(PYTESTS ) --tb=short --cov=mne --cov-report=xml --cov-branch -- doctest-modules --doctest-ignore-import-errors --doctest-glob=' *.rst' ./doc/ --ignore=./doc/auto_examples --ignore=./doc/auto_tutorials --ignore=./doc/_build --ignore=./doc/conf.py --ignore=doc/sphinxext --fulltrace
45
45
46
46
pre-commit :
47
47
@pre-commit run -a --show-diff-on-failure
Original file line number Diff line number Diff line change
1
+ Add test analytics functionality to track and analyze test performance, by :newcontrib: `Katia Al-Amir `.
Original file line number Diff line number Diff line change 156
156
.. _Jussi Nurminen : https ://github . com /jjnurminen
157
157
.. _Kaisu Lankinen : http ://bishoplab . berkeley . edu /Kaisu . html
158
158
.. _Katarina Slama : https ://github . com /katarinaslama
159
+ .. _Katia Al -Amir : https ://github . com /katia -sentry
159
160
.. _Keith Doelling : https ://github . com /kdoelling1919
160
161
.. _Kostiantyn Maksymenko : https ://github . com /makkostya
161
162
.. _Kristijan Armeni : https ://github . com /kristijanarmeni
You can’t perform that action at this time.
0 commit comments