f8283861
ci: a test task, and the truth about !check
gofmt, go vet and make test, between cache_restore and build. gofmt -l exits 0 whether or not it printed anything, so its output goes through tee and is checked with test -s. No Postgres and no network: every suite here is hermetic, so nothing can skip and there is no DSN to guard. gitx/fixture_test.go builds a bare repository with the local git and web/web_test.go is httptest plus ecoretest. Which makes the APKBUILD's !check comment wrong, and it has been wrong the whole time — the tests never needed a live git.sr.ht API. With the task in place the option stops meaning 'these cannot run here' and starts meaning 'these ran before abuild did', which is only true while make test stays fatal. Said so where the option is.
bigbes <bigbes@gmail.com> — 2026-08-08 22:28:07 UTC
Commit f8283861787a361d6fa8bc6467ef15c9495b8261 —
view raw patch
Parent(s):
f1865360
| File | Status | + | − |
|---|---|---|---|
.build.yml
|
M | +15 | |
APKBUILD
|
M | +8 | -1 |
docs/ci.md
|
M | +10 | -7 |