From de2a779715bfc3a93d821fd6ddf7e80a0a529b10 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Wed, 3 May 2023 20:29:12 -0700 Subject: [PATCH] Gather and upload coverage of python tests. --- .github/workflows/test.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0051446d..d22118dc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,4 +15,7 @@ jobs: - name: run tests run: | ./venv/scripts/activate - pytest tests + pytest --cov game --cov-branch --cov-report=xml tests + + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3