Skip to content
Snippets Groups Projects
Commit ae4c01dd 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
Pipeline #5909 failed
...@@ -65,7 +65,9 @@ test: ...@@ -65,7 +65,9 @@ test:
script: script:
- pip install coveralls - pip install coveralls
- pip install -r requirements.txt - 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: check:
<<: *pyenv <<: *pyenv
......
...@@ -7,7 +7,7 @@ docs: ...@@ -7,7 +7,7 @@ docs:
# run tests # run tests
tests: tests:
python3 -m unittest ${TESTS_FILTER} python3 -m ${TESTS_FILTER}
# check # check
check: mypy pylint check-format 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