mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
don't run tests on scripts/ directory
This commit is contained in:
parent
b65fa852f1
commit
0355fc3008
2
test.sh
2
test.sh
|
|
@ -3,7 +3,7 @@
|
|||
set -e
|
||||
echo "" > coverage.txt
|
||||
|
||||
for d in $( find ./* -maxdepth 10 ! -path "./vendor*" ! -path "./.git*" -type d); do
|
||||
for d in $( find ./* -maxdepth 10 ! -path "./vendor*" ! -path "./.git*" ! -path "./scripts*" -type d); do
|
||||
if ls $d/*.go &> /dev/null; then
|
||||
go test -v -race -coverprofile=profile.out -covermode=atomic $d
|
||||
if [ -f profile.out ]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue