Remove docker test parallelism (#1434)

* Remove docker parallelism

* Remove redundant dash
This commit is contained in:
Ori Newman 2021-01-19 17:30:24 +02:00 committed by GitHub
parent effb545d20
commit acf5423c63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -19,4 +19,9 @@ go vet -composites=false $FLAGS ./...
go build $FLAGS -o kaspad .
go test $FLAGS ./...
if [ -n "${NO_PARALLEL}" ]
then
go test -parallel=1 $FLAGS ./...
else
go test $FLAGS ./...
fi

View File

@ -18,7 +18,7 @@ COPY go.sum .
COPY . .
RUN ./build_and_test.sh
RUN NO_PARALLEL=1 ./build_and_test.sh
# --- multistage docker build: stage #2: runtime image
FROM alpine