diff --git a/evm/Dockerfile b/evm/Dockerfile index de21b273f..585a754d1 100644 --- a/evm/Dockerfile +++ b/evm/Dockerfile @@ -14,9 +14,7 @@ COPY rift rift WORKDIR /go/src/app/evm RUN go mod download -# Copy the rest of the source code and build the binary -#COPY scripts scripts - +# build the binary ENV PACKAGES="curl make git libc-dev bash gcc linux-headers eudev-dev python3" RUN CGO_ENABLED=1 make install # Binary will be in /go/bin/world-evm diff --git a/makefiles/test.mk b/makefiles/test.mk index f54efc4b4..858b43e6f 100644 --- a/makefiles/test.mk +++ b/makefiles/test.mk @@ -72,6 +72,9 @@ e2e-evm: @CARDINAL_ROLLUP_ENABLED=true docker compose up game nakama -d + # this solves a problem of the tests running too quickly, before the rest of the system is completely ready + @sleep 10 + @go test -v ./e2e/tests/evm/evm_test.go @docker compose rm --force --stop