coder/scripts/ci-report
Kyle Carberry 22e781eced
chore: add /v2 to import module path (#9072)
* chore: add /v2 to import module path

go mod requires semantic versioning with versions greater than 1.x

This was a mechanical update by running:
```
go install github.com/marwan-at-work/mod/cmd/mod@latest
mod upgrade
```

Migrate generated files to import /v2

* Fix gen
2023-08-18 18:55:43 +00:00
..
testdata chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +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 chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +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.