Ajay Tripathy пре 4 година
родитељ
комит
cb30225719
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      Dockerfile

+ 2 - 0
Dockerfile

@@ -11,6 +11,8 @@ RUN go mod download
 COPY . .
 # Build the binary
 RUN set -e ;\
+    go test ./test/*.go;\
+    go test ./pkg/*;\
     cd cmd/costmodel;\
     CGO_ENABLED=0 GOOS=linux GOARCH=amd64 \
     go build -a -installsuffix cgo -o /go/bin/app