-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move to codecov #133
Move to codecov #133
Conversation
Feeeeeeeck!!! I can't get this damn thing to work; all you need to do is output the coverage report as XML: $ pytest --cov=myst_nb --cov-report=xml
================================================================================================= test session starts ==================================================================================================
platform darwin -- Python 3.7.6, pytest-5.4.1, py-1.8.1, pluggy-0.13.0
rootdir: /Users/cjs14/GitHub/MyST-NB-actual, inifile: pytest.ini
plugins: cov-2.8.1, datadir-1.3.1, regressions-2.0.0
collected 33 items
tests/test_execute.py ........... [ 33%]
tests/test_glue.py ...... [ 51%]
tests/test_nb_render.py ........... [ 84%]
tests/test_parser.py .. [ 90%]
tests/test_text_based.py . [ 93%]
tests/test_transform.py .. [100%]
---------- coverage: platform darwin, python 3.7.6-final-0 -----------
Coverage XML written to file coverage.xml But then |
Also this is working fine in my aiida development environment:
|
Codecov Report
@@ Coverage Diff @@
## master #133 +/- ##
=========================================
Coverage ? 83.83%
=========================================
Files ? 9
Lines ? 804
Branches ? 0
=========================================
Hits ? 674
Misses ? 130
Partials ? 0
Continue to review full report at Codecov.
|
Ok! for some reason the |
FYI I got it working and recently wrote a GitHub Action for it https://github.com/marketplace/actions/coveralls-python |
Coveralls doesn't support GitHub actions properly for forked PRs 😒 coverallsapp/github-action#30
https://github.com/codecov/codecov-action