gha-common / go-beautiful-html-coverage

A GitHub Action to track code coverage in your pull requests, with a beautiful HTML preview, for free.
https://gha-common.github.io/go-beautiful-html-coverage/go-test-app-01/head/head.html#file1
MIT License
11 stars 0 forks source link

chore: test incremental coverage #39

Closed kilianc closed 4 months ago

kilianc commented 4 months ago

This PR should showcase that only the change in coverage for the maybe() function should be part of the <sha>-inc.html file because that's the only delta from main.

Next step would be to add a link to the incremental in the UI.

github-actions[bot] commented 4 months ago
🔗 Code Coverage Report for go-test-app-01/ at bd46cebe4b74c0fd19a635d0dcd847932512be21
📔 Total: 70.0%
🎯 Threshold: 66.7%
✅ 70.0% >= 66.7%
Full coverage report ``` cointoss/main.go:10: main 75.0% cointoss/main.go:20: tossCoin 66.7% cointoss/main.go:28: maybe 66.7% total: (statements) 70.0% ```

go-beautiful-html-coverage ↗

github-actions[bot] commented 4 months ago
🔗 Code Coverage Report for go-test-app-02/ at bd46cebe4b74c0fd19a635d0dcd847932512be21
📔 Total: 70.0%
Full coverage report ``` cointoss/main.go:10: main 75.0% cointoss/main.go:20: tossCoin 66.7% cointoss/main.go:28: maybe 66.7% total: (statements) 70.0% ```

go-beautiful-html-coverage ↗