Skip to content

Commit

Permalink
Add codecov to testing.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mjwen committed Feb 23, 2024
1 parent 227d821 commit 5c0ad7f
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.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 5c0ad7f

Please sign in to comment.