mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-06 09:42:19 +00:00
eb70fc73cd
Former-commit-id: 25dc367490dd16ef4fa1d462118aa438df1b319a [formerly 6fab78aeb8b9f54fddbad1406f97392b753a830a] Former-commit-id: 0de0bb3ef9af1735ac8ecd1aefe2d57c0f76c62d
11 lines
245 B
Bash
Executable File
11 lines
245 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# check there are no formatting issues
|
|
GOFMT_LINES=`gofmt -l . | wc -l | xargs`
|
|
test $GOFMT_LINES -eq 0 || echo "gofmt needs to be run, ${GOFMT_LINES} files have issues"
|
|
|
|
# run the tests for the root package
|
|
go test -race .
|