Skip to content

Fix broken coverage badge#363

Merged
tschm merged 3 commits intomainfrom
copilot/fix-broken-badge
Mar 22, 2026
Merged

Fix broken coverage badge#363
tschm merged 3 commits intomainfrom
copilot/fix-broken-badge

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 22, 2026

The coverage badge was pointing to a shields.io endpoint backed by a GitHub Pages JSON file that was no longer resolving correctly.

Changes

  • README.md: Replace the broken shields.io endpoint badge with a direct link to the raw SVG served from the gh-pages branch, so it always reflects the latest coverage:
-[![Coverage](https://img.shields.io/endpoint?url=https://tschm.github.io/jquantstats/tests/coverage-badge.json)](...)
+[![Coverage](https://raw.githubusercontent.com/tschm/jquantstats/refs/heads/gh-pages/coverage-badge.svg)](...)
Original prompt

This section details on the original issue you should resolve

<issue_title>Fix the broken badge</issue_title>
<issue_description>point to https://raw.githubusercontent.com/tschm/jquantstats/2b2ef06c0715d55cde7180c915b606b060659d16/coverage-badge.svg</issue_description>

Comments on the Issue (you are @copilot in this section)


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: tschm <2046079+tschm@users.noreply.github.com>
Agent-Logs-Url: https://github.com/tschm/jquantstats/sessions/a8a583f8-ea18-42d0-950c-824f7a1a521d
Copilot AI changed the title [WIP] Fix the broken badge Fix broken coverage badge Mar 22, 2026
Copilot AI requested a review from tschm March 22, 2026 06:12
@tschm
Copy link
Copy Markdown
Member

tschm commented Mar 22, 2026

@copilot: in TinyCTA we have Coverage. That would be better

@tschm tschm marked this pull request as ready for review March 22, 2026 06:15
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Mar 22, 2026

@copilot: in TinyCTA we have Coverage. That...

Updated in be68866 — badge now uses refs/heads/gh-pages/coverage-badge.svg so it always tracks the latest coverage from the gh-pages branch.

@tschm tschm merged commit ac57d6e into main Mar 22, 2026
14 checks passed
@tschm tschm deleted the copilot/fix-broken-badge branch March 22, 2026 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix the broken badge

2 participants