From 26205a793c797f19991d1cffebb9c13306f35a77 Mon Sep 17 00:00:00 2001 From: Joel Lefkowitz Date: Wed, 17 Apr 2024 07:12:06 +0100 Subject: [PATCH] Use xml for coverage --- .github/workflows/review.yml | 6 +----- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml index cb1c1ae..8534557 100644 --- a/.github/workflows/review.yml +++ b/.github/workflows/review.yml @@ -18,12 +18,8 @@ jobs: - name: Run tests run: thx test - - name: Log coverage - run: cat coverage.lcov - - name: Publish test coverage uses: codacy/codacy-coverage-reporter-action@v1 with: project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} - coverage-reports: coverage.lcov - + coverage-reports: coverage.xml diff --git a/pyproject.toml b/pyproject.toml index 47c636d..36232f3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -81,5 +81,5 @@ format = [ "npx prettier . --write", ] -test = "pytest . --doctest-modules --cov --cov-report=lcov" +test = "pytest . --doctest-modules --cov --cov-report=xml" docs = "doxygen"