Sfoglia il codice sorgente

Restore tests

Signed-off-by: Matt Ray <github@mattray.dev>
Matt Ray 2 anni fa
parent
commit
486cd823d7
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      Dockerfile

+ 2 - 0
Dockerfile

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