cbb966af

Author: Michael Lynch <git@mtlynch.io>

Committer: Michael Lynch <mtlynch@noreply.codeberg.org>

Enforce external test packages in all Go test files (#44)

Add dev-scripts/check-go-test-packages, which verifies that every
tracked *_test.go file declares a package ending in _test.

Wire it into the pre-commit hook and add a corresponding Nix build step
in flake.nix.

Co-authored-by: Shelley <shelley@exe.dev>

Reviewed-on: https://codeberg.org/mtlynch/go-app-starter/pulls/44
Co-authored-by: Michael Lynch <git@mtlynch.io>
Co-committed-by: Michael Lynch <git@mtlynch.io>

Suite timing

Time to Start Worker time Duration Time to finish
Config 0s 1s 1s 1s
Eval 1s 36s 36s 38s
Build 8m04s 4m18s 1m54s 9m59s
Test - - - -
Deploy - - - -
Suite 0s 4m56s 9m59s 9m59s

Timeline

0s20s8m20s8m40s9m9m20s9m40s