mirror of https://github.com/coder/coder.git
22e781eced
* 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 |
||
---|---|---|
.. | ||
testdata | ||
README.md | ||
fetch_stats_from_ci.sh | ||
main.go | ||
main_test.go |
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.