Skip to content

Commit

Permalink
apply pytest-cov, try different codecov workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kedhammar committed Jun 28, 2024
1 parent 80bc395 commit 8099b9d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ jobs:
run: pip install -e .
- name: pytest
# Options are configured in pyproject.toml
run: pytest
run: pytest --cov=genologics --cov-report=xml
- name: CodeCov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
run: |
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -t ${{ secrets.CODECOV_TOKEN }}
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ mock
mypy
pipreqs
pytest
pytest-cov
ruff
sphinxcontrib-programoutput
types-requests
Expand Down

0 comments on commit 8099b9d

Please sign in to comment.