Python coverage; update .gitignores to ignore coverage output
This commit is contained in:
parent
23a52719b9
commit
690b07150d
|
@ -1,2 +1,4 @@
|
|||
.nyc_output/
|
||||
coverage/
|
||||
node_modules/
|
||||
package-lock.json
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
*.pyc
|
||||
.coverage
|
||||
htmlcov/
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue