Skip to content

Commit

Permalink
Merge pull request #117 from DLHub-Argonne/gha-coverage
Browse files Browse the repository at this point in the history
Add coveralls to the GHA CI
  • Loading branch information
WardLT committed Sep 17, 2021
2 parents de03d4a + 920bdd9 commit 783bee7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,10 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
# run all testing documents, except the local tests
pytest ./dlhub_sdk
pytest --cov=dlhub_sdk ./dlhub_sdk
- name: Coveralls
run: |
pip install coveralls
coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ scikit-learn>=0.19.1
scipy>=0.19.1
torch>=1.1.0
pytest
pytest-cov
mdf-connect-client>=0.3.8

0 comments on commit 783bee7

Please sign in to comment.