Skip to content

Conversation

@knowledgecode
Copy link
Owner

No description provided.

knowledgecode and others added 16 commits July 30, 2025 09:18
Use jq to extract coverage percentage instead of outputting entire JSON.
This resolves GitHub Actions output format error caused by multiline JSON.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Move mkdir -p badges command before the badge generation step
to prevent ENOENT error when creating coverage.svg file.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Use fromJSON() to properly convert string percentage to number
for color threshold comparison in GitHub Actions expressions.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Add debugging output to identify why coverage badge remains black:
- Show actual coverage percentage value
- Display fromJSON conversion result
- Check condition evaluations
- Verify final color calculation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Change brightgreen to green for badge-action compatibility
- Remove debug steps that were used to troubleshoot color issue
- Keep flat style as requested

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Switch to default badge style by removing the style parameter.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Move coverage badge generation from badges/ to .github/badges/
to organize GitHub-related files in a conventional location.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
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.

3 participants