mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-29 18:38:56 +03:00
Don't run home_test with race detection
This commit is contained in:
parent
c826c976af
commit
7be0cc72df
2 changed files with 7 additions and 1 deletions
|
@ -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 a new issue