coder/scripts/ci-report
Mathias Fredriksson e0689456cb
fix(scripts): Use gh api to fetch ci logs more reliably (#7133)
2023-04-14 16:29:13 +03:00
..
testdata ci: Print go test stats (#6855) 2023-04-03 11:07:25 +00:00
README.md ci: Add script for fetching past test stats from CI (#7086) 2023-04-12 10:03:26 +00:00
fetch_stats_from_ci.sh fix(scripts): Use gh api to fetch ci logs more reliably (#7133) 2023-04-14 16:29:13 +03:00
main.go ci: Print go test stats (#6855) 2023-04-03 11:07:25 +00:00
main_test.go ci: Print go test stats (#6855) 2023-04-03 11:07:25 +00:00

README.md

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.

Misc

The script fetch_stats_from_ci.sh can be used to fetch historical stats from CI, e.g. for development or analysis.