mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-14 19:32:15 +01:00
improving tests process
This commit is contained in:
@@ -25,8 +25,15 @@ RUN echo "deb http://httpredir.debian.org/debian/ stretch main contrib non-free"
|
||||
# |
|
||||
|
||||
WORKDIR /go/src/github.com/gulien/gotenberg
|
||||
|
||||
# Installs lint dependencies.
|
||||
RUN go get -u gopkg.in/alecthomas/gometalinter.v2 &&\
|
||||
gometalinter.v2 --install
|
||||
|
||||
# Copies our Go source.
|
||||
COPY . .
|
||||
|
||||
# Installs project dependencies.
|
||||
RUN go get -d -v ./...
|
||||
|
||||
CMD ["go", "test", "-race", "-cover", "./..."]
|
||||
ENTRYPOINT ["_ci/docker-entrypoint.sh"]
|
||||
Reference in New Issue
Block a user