Don't run home_test with race detection

This commit is contained in:
Andrey Meshkov 2020-09-08 15:53:25 +03:00
parent c826c976af
commit 7be0cc72df
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -1,3 +1,5 @@
// +build !race
package home
import (