Skip to content

Commit

Permalink
Update Codecov config
Browse files Browse the repository at this point in the history
include xml report
  • Loading branch information
xiaoruiDong committed Sep 14, 2023
1 parent cdde40d commit 4c92912
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ omit =
rdmc/conformer_generation/*

[html]
directory = test/coverage
directory = ./coverage/html

[xml]
output = ./coverage/coverage.xml
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,4 @@ jobs:
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ addopts =
--cov=rdmc
--cov-config .coveragerc
--cov-report html
--cov-report xml
testpaths = test
python_files = test_*.py

0 comments on commit 4c92912

Please sign in to comment.