Skip to content

Commit

Permalink
Merge pull request #165 from openkim/cdcv
Browse files Browse the repository at this point in the history
Add codecov check for test coverage
  • Loading branch information
mjwen authored Feb 23, 2024
2 parents 227d821 + b64d8e9 commit ec80dc8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,10 @@ jobs:
shell: bash -el {0}
run: |
cd tests
pytest
pytest --cov=kliff --cov-report=xml
- uses: codecov/codecov-action@v4
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10' && github.repository == 'openkim/kliff'
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ def get_readme():
extras_require={
"test": [
"pytest",
"pytest-cov",
"kimpy",
"emcee",
"ptemcee",
Expand Down

0 comments on commit ec80dc8

Please sign in to comment.