Commit e7a8ffaf authored by Mathieu Giraud's avatar Mathieu Giraud

.gitlab-ci.yml: coverage through coverage.py

parent 184c41b9
Pipeline #684 passed with stages
in 9 seconds
......@@ -2,6 +2,7 @@
stages:
- unit
- demo
- coverage
unit:
stage: unit
......@@ -10,3 +11,13 @@ unit:
demo:
stage: demo
script: python3 src/should.py demo/*.should
coverage:
stage: coverage
before_script:
- pip3 install coverage
script:
- coverage erase
- coverage run -m doctest src/should.py
- coverage run -a src/should.py demo/*.should
- coverage report
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment