Skip to content

Choose a tag to compare

@Nittarab Nittarab released this 20 Aug 16:55
· 3 commits to main since this release

Changes

  • Coverage table format changed: The diff table now displays 5 columns (Filename, Line Coverage, Branch Coverage, Line Diff, Branch Diff) instead of the previous 3 columns. This provides clearer separation between current coverage values and coverage changes.
  • Visual indicators updated: Coverage changes now use text-based emoji indicators (📈 increase, 📉 decrease, ➡️ no change) instead of SVG badges. This improves accessibility and reduces external dependencies.
  • Improved diff visualization: Coverage percentages and changes are now formatted more clearly with better visual separation between current values and differences.
  • Enhanced error messages: Better error reporting when resultset files are missing or invalid.
  • Updated documentation: Comprehensive examples for both normal and dry-run usage modes.

Added

  • Dry-run mode: Set DRY_RUN=true environment variable to calculate and log coverage differences without posting PR comments. Useful for testing workflows and local development.
  • Optional token parameter: The token input is now optional. When not provided, the action automatically runs in dry-run mode.
  • New file indicators: Files that are newly added show 🆕 NEW and deleted files show 🗑️ DELETED in the coverage report.

Improved

  • Reliability: Enhanced test coverage and error handling make the action more robust in edge cases.
  • Performance: Optimized processing of large coverage datasets.
  • Accessibility: Text-based indicators work better across different platforms and environments.