[CI] Enable CGO for backend tests

go test -race (and the sqlite driver) require CGO; set CGO_ENABLED=1 on
the test-backend job.
This commit is contained in:
Pacerino
2026-06-14 02:57:40 +02:00
parent 51f89454f5
commit b4a1bff5b8

View File

@@ -24,6 +24,9 @@ jobs:
test-backend:
name: Test backend
runs-on: self-hosted
# CGO is required by the sqlite driver and by `go test -race`.
env:
CGO_ENABLED: "1"
defaults:
run:
working-directory: backend