Skip to content

Commit

Permalink
Add codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
mjwen committed Feb 23, 2024
1 parent 6741f52 commit 8edc86c
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 @@ -73,4 +73,10 @@ jobs:
- name: Test with pytest
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 @@ -117,6 +117,7 @@ def get_readme():
extras_require={
"test": [
"pytest",
"pytest-cov",
"kimpy",
"emcee",
"ptemcee @ git+https://github.com/yonatank93/ptemcee.git@enhance_v1.0.0",
Expand Down

0 comments on commit 8edc86c

Please sign in to comment.