Przeglądaj źródła

Restore tests

Signed-off-by: Matt Ray <github@mattray.dev>
Matt Ray 2 lat temu
rodzic
commit
486cd823d7
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      Dockerfile

+ 2 - 0
Dockerfile

@@ -20,6 +20,8 @@ RUN go mod download
 COPY . .
 # Build the binary
 RUN set -e ;\
+    go test ./test/*.go;\
+    go test ./pkg/*;\
     cd cmd/costmodel;\
     GOOS=linux \
     go build -a -installsuffix cgo \