Skip to content

Commit

Permalink
Merge pull request #5 from stfc/add-code-cov
Browse files Browse the repository at this point in the history
Add codecov
  • Loading branch information
anish-mudaraddi authored Dec 10, 2024
2 parents 6c2f608 + a3de3fd commit 9569d93
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,10 @@ jobs:
- name: run tests using pytest
run: |
cd $GITHUB_WORKSPACE && pytest
cd $GITHUB_WORKSPACE && pytest --cov --cov-report xml:coverage.xml
- name: Submit Coverage
uses: codecov/codecov-action@v5
with:
fail_ci_if_error: true
token: ${{secrets.CODECOV_TOKEN}}
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
pytest
pytest-cov
pylint
openstacksdk
pre-commit
Expand Down

0 comments on commit 9569d93

Please sign in to comment.