ctrf-io / github-test-reporter

Publish and view test reporting directly in your GitHub Actions CI/CD workflow and Pull Requests with detailed test summaries, failed test analyses, and flaky test detection.
https://ctrf.io
MIT License
78 stars 6 forks source link

Duplicate reports are generated when generating all tables if all tests have passed #1

Closed MyloRii closed 5 months ago

MyloRii commented 5 months ago

I've noticed I get double report printed if all tests have passed. Might be due to multiple write() invocation. Could be fixed by adding a flag if write function has been called already.

Ma11hewThomas commented 5 months ago

Thanks @MyloRii, there was a rogue write invocation when no tests failed. This is fixed in v0.0.19