Skip to content

Commit

Permalink
Add coverage configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmitterdorfer committed Nov 3, 2016
1 parent c883345 commit c1d0099
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[run]
omit =
# omit everything in /usr
/usr/local/lib/python*
tests/*
setup.py

branch = True
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,7 @@ target/
*.pk

# pyenv
.python-version
.python-version

#Coverage reports
htmlcov/
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
test:
python3 setup.py test

coverage:
coverage run setup.py test

release:
release.sh

.PHONY: test release
.PHONY: test coverage release

0 comments on commit c1d0099

Please sign in to comment.