diff options
-rw-r--r-- | .coveragerc | 8 | ||||
-rw-r--r-- | Makefile | 4 |
2 files changed, 11 insertions, 1 deletions
diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..3399dbe --- /dev/null +++ b/.coveragerc @@ -0,0 +1,8 @@ +[run] +branch = True +source = gerber + +[report] +ignore_errors = True +omit = + gerber/tests/* @@ -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 @@ -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 |