mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00
Remove docker test parallelism (#1434)
* Remove docker parallelism * Remove redundant dash
This commit is contained in:
parent
effb545d20
commit
acf5423c63
@ -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
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user