diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6dc6e8e..bdd11c3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -41,6 +41,8 @@ jobs: uses: codecov/codecov-action@v4 if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }} with: + env_vars: OS,PYTHON + files: ./coverage.xml verbose: true env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/Makefile b/Makefile index e90302e..66bdc97 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ test: $(TEST_FILE) $(TEST_TWO_FILE) @mkvmerge -J $(TEST_FILE) @echo "Running mkvmerge -J $(TEST_TWO_FILE)..." @mkvmerge -J $(TEST_TWO_FILE) - pytest --cov=pymkv $(TEST_DIR) + pytest --cov=pymkv $(TEST_DIR) --cov-report=xml $(TEST_FILE): @if [ ! -f $(TEST_FILE) ]; then \