From: Jacob Lifshay Date: Tue, 5 Jul 2022 07:58:23 +0000 (-0700) Subject: add coverage support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c51c5ed4bbfc3b1d0903cce7af1d20ea1aba9eb6;p=utils.git add coverage support --- diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..6dc0b0d --- /dev/null +++ b/.coveragerc @@ -0,0 +1,12 @@ +[run] +branch = True +include = + src/* +omit = + src/budget_sync/test/* + +[report] +exclude_lines = + :nocov: +partial_branches = + :nobr: diff --git a/.gitignore b/.gitignore index c6ad58f..7b61abc 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ __pycache__ *.pyc /output /task_db -.coverage \ No newline at end of file +.coverage +cov.xml