Skip to content

Commit

Permalink
Add .coveragerc
Browse files Browse the repository at this point in the history
  • Loading branch information
Paulo Henrique Silva authored and phsilva committed Nov 27, 2019
1 parent 95aea8e commit 39d7766
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .coveragerc
@@ -0,0 +1,8 @@
[run]
branch = True
source = gerber

[report]
ignore_errors = True
omit =
gerber/tests/*
4 changes: 3 additions & 1 deletion Makefile
Expand Up @@ -9,6 +9,7 @@ EXAMPLES = examples
clean: doc-clean
find . -name '*.pyc' -delete
rm -rf *.egg-info
rm -f .coverage
rm -f coverage.xml

.PHONY: test
Expand All @@ -17,7 +18,8 @@ test:

.PHONY: test-coverage
test-coverage:
rm -rf coverage.xml
rm -f .coverage
rm -f coverage.xml
$(PYTEST) --cov=./ --cov-report=xml

.PHONY: install
Expand Down

0 comments on commit 39d7766

Please sign in to comment.