diff --git a/.coverage b/.coverage new file mode 100644 index 0000000..0d78512 Binary files /dev/null and b/.coverage differ diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 9a640b3..8b27661 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -25,7 +25,7 @@ jobs: - name: Run tests and generate coverage run: | - coverage run -m pytest tests/ + coverage run --rcfile=.coveragerc -m pytest tests/ coverage report -m > coverage.txt - name: Extract coverage percentage and update README @@ -40,4 +40,3 @@ jobs: git config --local user.name "GitHub Action" git commit -am "Update coverage badge" git push https://${{secrets.GH_WF_CI_COV_TOKEN}}@github.com/${{github.repository}}.git -