diff options
author | Paulo Henrique Silva <ph.silva@carta.com> | 2019-11-26 23:24:18 -0300 |
---|---|---|
committer | Paulo Henrique Silva <ph.silva@gmail.com> | 2019-11-26 23:31:48 -0300 |
commit | 39d77665782a9a116ce502b04b03fc7ee6821608 (patch) | |
tree | ed3bda67866d101cb09fda415a61f1aa7f35f7cf | |
parent | 95aea8e6909a3e24c0eab055851c72f81d694ae8 (diff) | |
download | gerbonara-39d77665782a9a116ce502b04b03fc7ee6821608.tar.gz gerbonara-39d77665782a9a116ce502b04b03fc7ee6821608.tar.bz2 gerbonara-39d77665782a9a116ce502b04b03fc7ee6821608.zip |
Add .coveragerc
-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 |