Skip to content

Commit

Permalink
Next try coverage badge
Browse files Browse the repository at this point in the history
  • Loading branch information
Emrys-Merlin committed Sep 7, 2024
1 parent d3cdc7b commit b4a6699
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
run: |
make run-ci
- name: Update Coverage Badge
# GitHub actions: default branch variable
# https://stackoverflow.com/questions/64781462/github-actions-default-branch-variable
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
uses: we-cli/coverage-badge-action@main
- name: Create coverage badge
uses: gaelgirodon/ci-badges-action@v1
with:
gist-id: ${{ vars.GIST_ID_BADGES }}
token: ${{ secrets.GIST_TOKEN }}
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ run-ci:
pip install uv
uv venv
uv pip install -e ".[dev]"
uv run pytest --cov=web_watchr --cov-report term-missing --cov-report json:coverage-summary.json
uv run pytest --cov=web_watchr --cov-report term-missing --cov-report lcov:lcov.info
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
<!-- README.md -->
+ [![cov](https://Emrys-Merlin.github.io/web_watchr/badges/coverage.svg)](https://github.com/Emrys-Merlin/web_watchr/actions)

# WebWatchr
A bot that monitors a website and publishes changes via telegram

0 comments on commit b4a6699

Please sign in to comment.