add code coverage reporting
This commit is contained in:
1 parent
f03f87fc1d
commit
621a1cd1d0
2 files changed
+9
No files matched your search
@@ -1,3 +1,11 @@
|
||||
dependencies:
|
||||
pre:
|
||||
- pip install -r requirements.txt
|
||||
|
||||
test:
|
||||
override:
|
||||
- coverage run test.py
|
||||
post:
|
||||
- mkdir -p $CIRCLE_ARTIFACTS/coverage-html
|
||||
- coverage html -d $CIRCLE_ARTIFACTS/coverage-html
|
||||
- mv .coverage $CIRCLE_ARTIFACTS
|
||||
@@ -1,2 +1,3 @@
|
||||
requests
|
||||
mock
|
||||
coverage
|
||||
Reference in new issue
Block a user