From 4cb035b955f5b540af0c91e98062301b20fbda73 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Mon, 5 Jun 2023 20:02:07 -0700 Subject: [PATCH] Fix Python coverage reporting. Apparently the fact that I want the coverage report to be XML isn't enough of a hint that I want coverage. --- .github/workflows/test.yml | 2 +- .gitignore | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b8adbb88..6dd40fb4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ jobs: - name: run tests run: | ./venv/scripts/activate - pytest --cov-report=xml tests + pytest --cov --cov-report=xml tests - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3 diff --git a/.gitignore b/.gitignore index d4325dc4..197ba2a3 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ venv .vscode/settings.json dist/** /.coverage +/coverage.xml # User-specific stuff .idea/ .env