diff options
author | Justin Mayer <entroP@gmail.com> | 2021-08-18 11:36:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-18 11:36:14 +0200 |
commit | 4b9a12c9e30b69fc8c0fc05b126950ef1a64ae6c (patch) | |
tree | fb8d8c18be0a50d4e04d44bcc24beff517e7b694 | |
parent | 739ae196ab2f7b15800ce82b50dde82bff6751d7 (diff) | |
parent | 2daad49256e2a2a6ec9f6a7d26aa3ced6247434a (diff) | |
download | feedgenerator-4b9a12c9e30b69fc8c0fc05b126950ef1a64ae6c.tar.gz |
Merge pull request #28 from venthur/add_coverage
Add test coverage report
-rw-r--r-- | .github/workflows/main.yml | 2 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | setup.cfg | 7 | ||||
-rw-r--r-- | tox.ini | 1 |
4 files changed, 10 insertions, 1 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 06f57fd..e6ee180 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,5 +25,5 @@ jobs: run: python -m pip install -e . - name: Test with pytest run: | - python -m pip install pytest + python -m pip install pytest pytest-cov pytest @@ -19,6 +19,7 @@ pip-log.txt # Unit test / coverage reports .coverage .tox +htmlcov/ #Translations *.mo @@ -1,2 +1,9 @@ [sdist] force_manifest = 1 + +[tool:pytest] +addopts = + --cov=feedgenerator + --cov=tests_feedgenerator + --cov-report=html + --cov-report=term-missing:skip-covered @@ -12,3 +12,4 @@ commands = pytest deps = pytest + pytest-cov |