mfridman / tparse

CLI tool for summarizing go test output. Pipe friendly. CI/CD friendly.
MIT License
948 stars 22 forks source link

Do not fail with error if provided test report json file is missing #107

Open lafriks opened 6 months ago

lafriks commented 6 months ago

When running in CI this is useful not to fail in case test report generation somehow failed or was not run and because of that report json file is missing.

This could probably be also as an cli arg like -skip-missing-file and than it would just exit with status code 0 if report file is not present

mfridman commented 5 months ago

By report file, do you mean the output tparse produces? I presume you're referring to all the internal errors that tparse might run into, and you'd like to avoid those failing CI?

lafriks commented 5 months ago

I would like to skip failing CI on all errors (just exit status code)