go-ethereum/docker/test_entrypoint.sh
Will Meister 7cc1988962
Create local development Dockerfile and docker-compose (#17)
Adding docker-compose.dev.yml and Dockerfile.dev to mount the current dir and call a script to conditionally build for fast iteration
2020-08-28 09:13:38 -05:00

13 lines
305 B
Bash
Executable File

#!/bin/sh
cd /go-ethereum
echo "*** Running Linter ***"
go run build/ci.go lint || { echo 'linter failed' ; exit 1; }
echo "\n*** Linter succeeded ***\n"
echo "*** Running Tests ***"
go run build/ci.go test -coverage $TEST_PACKAGES || { echo 'tests failed' ; exit 1; }
echo "\n*** Tests Passed ***\n"