terrakube
12/10/2024, 6:54 PMmage test:unit
and got the following error at first:
running unit tests
go: -race requires cgo; enable cgo by setting CGO_ENABLED=1
Error: running "go ./..." failed with exit code 2
Then run $Env:CGO_ENABLED = 1;mage test:unit
and got:
running unit tests
# runtime/cgo
cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in %PATH%
Am I missing some pre-requisite? Cheers