소스 검색

change circleci conf (#633)

* change circleci conf

* change circleci conf 2

* go/test

* test

* test

* test go files

* add test to docker build

* add test to docker build

* add test to docker build

* add test to docker build

* test
Ajay Tripathy 5 년 전
부모
커밋
319cb53ad2
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