mirror of
https://github.com/DominicBreuker/pspy.git
synced 2026-11-06 18:21:51 +00:00
move unit tests from image build to contrainer run
This commit is contained in:
1 parent
f4b2fdf6b6
commit
0e5d2ed39e
2 files changed
+6
-3
No files matched your search
@@ -9,10 +9,8 @@ COPY cmd /go/src/github.com/dominicbreuker/pspy/cmd
|
||||
COPY internal /go/src/github.com/dominicbreuker/pspy/internal
|
||||
COPY vendor /go/src/github.com/dominicbreuker/pspy/vendor
|
||||
|
||||
# run tests
|
||||
WORKDIR /go/src/github.com/dominicbreuker/pspy
|
||||
# RUN go test ./...
|
||||
# build executable
|
||||
WORKDIR /go/src/github.com/dominicbreuker/pspy
|
||||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -ldflags '-extldflags "-static"' -o bin/pspy main.go
|
||||
|
||||
### Prepare integration test ###
|
||||
|
||||
Reference in new issue
Block a user