mirror of
https://github.com/vikstrous/pirate-get
synced 2025-01-09 09:59:51 +01:00
configure cover better
This commit is contained in:
parent
07ad7e33e6
commit
8a371dea56
7
.coveragerc
Normal file
7
.coveragerc
Normal file
@ -0,0 +1,7 @@
|
||||
[run]
|
||||
branch = True
|
||||
[report]
|
||||
include = /home/ubuntu/pirate-get/*
|
||||
omit = */tests/*,*__init__*
|
||||
[html]
|
||||
directory = /home/ubuntu/pirate-get/htmlcov/
|
@ -10,6 +10,6 @@ test:
|
||||
- coverage run -m unittest discover
|
||||
post:
|
||||
- mkdir -p $CIRCLE_ARTIFACTS/coverage
|
||||
- cd /home/ubuntu/pirate-get && coverage html --include=`pwd`* --omit="*/tests/*,*__init__*"
|
||||
- cd /home/ubuntu/pirate-get && coverage html
|
||||
- cp -R /home/ubuntu/pirate-get/htmlcov/* $CIRCLE_ARTIFACTS/coverage
|
||||
- coveralls
|
||||
|
Loading…
Reference in New Issue
Block a user