525839b6

Author: Michael Lynch <git@mtlynch.io>

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

Reject Go test files that use non-test packages (#58)

Add a dev-script that scans tracked *_test.go files and fails if any
package declaration does not end in _test.

Wire the check into the pre-commit hook and flake outputs so the
repository runs it in the standard validation paths.

Reviewed-on: https://codeberg.org/mtlynch/little-moments/pulls/58
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 2s 2s 2s
Eval 3s 39s 39s 42s
Build 5s 2m33s 57s 1m02s
Test - - - -
Deploy - - - -
Suite 0s 3m15s 1m02s 1m02s

Timeline

0s10s20s30s40s50s1m