Fixing broken tests, skipping tests we intentionally break, and configuring CI within Github Actions
13 lines
305 B
Bash
13 lines
305 B
Bash
#!/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" |