Files
coder/scripts/ci-report
Mathias Fredriksson d9d44c1188 ci: Print go test stats (#6855)
Fixes #6676
2023-04-03 11:07:25 +00:00
..
2023-04-03 11:07:25 +00:00
2023-04-03 11:07:25 +00:00
2023-04-03 11:07:25 +00:00
2023-04-03 11:07:25 +00:00

ci-report

This program generates a CI report from the gotests.json generated by go test -json (we use gotestsum as a frontend).

Limitations

We won't generate any report/stats for tests that weren't run. To find all existing tests, we could use: go test ./... -list=. -json, but the time it takes is probably not worth it. Usually most tests will run, even if there are errors and we're using -failfast.