0837204b

By: Michael Lynch <git@mtlynch.io>

Reject Go test files that use non-test packages

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.

Suite timing

Time to Start Worker time Duration Time to finish
Config 0s 1s 1s 1s
Eval 1s 35s 35s 36s
Build 2s 2m30s 57s 1m00s
Test - - - -
Deploy - - - -
Suite 0s 3m07s 59s 1m00s

Timeline

0s10s20s30s40s50s1m