Skip to content
Snippets Groups Projects
Commit 430e37ea authored by Vincent Texier's avatar Vincent Texier
Browse files

[fix] #98 fix coverage test command line in gitlab-ci

Add coverage report for a future nice badge in README
parent 6f7ad8a6
No related branches found
No related tags found
No related merge requests found
......@@ -63,9 +63,10 @@ test:
<<: *changes
stage: test
script:
- pip install coveralls
- pip install -r requirements.txt
- coverage run --source=duniterpy setup.py test
- coverage run -m unittest
- coverage report -m
coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
check:
<<: *pyenv
......
......@@ -7,7 +7,7 @@ docs:
# run tests
tests:
python3 -m unittest ${TESTS_FILTER}
python3 -m ${TESTS_FILTER}
# check
check: mypy pylint check-format
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment