Don't run home_test with race detection
This commit is contained in:
parent
c826c976af
commit
7be0cc72df
|
@ -1,6 +1,10 @@
|
|||
#!/bin/bash
|
||||
set -e;
|
||||
git diff --cached --name-only | grep -q '.js$' && make lint-js;
|
||||
git diff --cached --name-only | grep -q '.js$' && found=1
|
||||
if [ $found == 1 ]; then
|
||||
make lint-js || exit 1
|
||||
npm run test --prefix client || exit 1
|
||||
fi
|
||||
|
||||
found=0
|
||||
git diff --cached --name-only | grep -q '.go$' && found=1
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// +build !race
|
||||
|
||||
package home
|
||||
|
||||
import (
|
||||
|
|
Loading…
Reference in New Issue