Skip to content

Commit

Permalink
Use xml for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Lefkowitz committed Apr 17, 2024
1 parent 17dec2c commit 26205a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 26205a7

Please sign in to comment.