Skip to content

Commit

Permalink
set up coveralls.io
Browse files Browse the repository at this point in the history
  • Loading branch information
jacalata authored Jan 30, 2025
1 parent 7666bb3 commit 88ff0aa
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/check-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ jobs:
- name: Generate coverage report
run: pytest --junitxml=pytest.xml --cov=tabcmd tests/ | tee pytest-coverage.txt

# trying another coverage reporter for PRs/badges
- name: Coveralls
uses: coverallsapp/github-action@v2

- name: Comment on pull request with coverage
uses: MishaKav/pytest-coverage-comment@main
with:
Expand All @@ -47,14 +51,9 @@ jobs:
# Please submit an issue on this action's GitHub repo
# report-only-changed-files: true

# badge on readme: https://github.com/Schneegans/dynamic-badges-action
- name: Create Awesome Badge
uses: schneegans/[email protected]
with:
auth: ${{ secrets.GIST_SECRET }}
gistID: 4f1a5e49fb58c3932bfdfdf22ed0a4b2
filename: coverage-badge.json # Use test.svg if you want to use the SVG mode.
label: Code Coverage
# TODO update badge on readme:
# generate badge with https://pypi.org/project/coverage-badge/
# display it with https://github.com/Schneegans/dynamic-badges-action

# TODO track docstring coverage
# https://github.com/marketplace/actions/python-interrogate-check

0 comments on commit 88ff0aa

Please sign in to comment.