Python coverage; update .gitignores to ignore coverage output

This commit is contained in:
Tony Garnock-Jones 2018-11-13 12:38:26 +00:00
parent 23a52719b9
commit 690b07150d
3 changed files with 9 additions and 0 deletions

View File

@ -1,2 +1,4 @@
.nyc_output/
coverage/
node_modules/
package-lock.json

View File

@ -1 +1,3 @@
*.pyc
.coverage
htmlcov/

View File

@ -1,3 +1,8 @@
test:
python2 -m unittest test_preserves
python3 -m unittest test_preserves
coverage:
python2-coverage run --branch -m unittest test_preserves
python3-coverage run --branch -m unittest test_preserves
python3-coverage html