You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker image inspect wham:test > /dev/null 2>&1 || docker build -t wham:test .
docker run -v /Users/juanwolf/projects/go/src/github.com/juanwolf/wham:/usr/src/app wham:test go get -u github.com/golang/dep/cmd/dep && dep ensure;
if [ "true" == "true" ]; then docker run -v /Users/juanwolf/projects/go/src/github.com/juanwolf/wham:/usr/src/app wham:test go test -coverprofile=coverage.txt -covermode=atomic -race ./cmd; else go test -coverprofile=coverage.txt -covermode=atomic -race ./cmd; fi
# app/cmd
/tmp/go-build256696545/app/cmd/_test/_obj_test/init.go:6:2: imported and not used: "fmt"
/tmp/go-build256696545/app/cmd/_test/_obj_test/init.go:7:2: imported and not used: "os"
cmd/init_test.go:9:9: undefined: init
FAIL app/cmd [build failed]
make: *** [test] Error 2
Could it be that the volume mounted does not reflect the current state of the dev environment and test against the code version when I built the docker image?
The text was updated successfully, but these errors were encountered:
Hi myself,
I tried to run the tests but they failed:
Could it be that the volume mounted does not reflect the current state of the dev environment and test against the code version when I built the docker image?
The text was updated successfully, but these errors were encountered: