diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..abf7a32 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,10 @@ +[run] +branch = true +source = src/ +relative_files = true +omit = + # Omit any test files + */*_test.py + +[xml] +output = ./coverage.xml diff --git a/devbox.json b/devbox.json index 4acaad5..972fda5 100644 --- a/devbox.json +++ b/devbox.json @@ -17,7 +17,7 @@ "pytest src/" ], "test-cov": [ - "pytest src/ --cov=src/ --cov-report=xml" + "pytest --cov=src/ --cov-report=xml" ], "lint": [ "flake8 src/"