mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-04-23 12:18:51 +02: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
|
set -e
|
||||||
echo "" > coverage.txt
|
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
|
if ls $d/*.go &> /dev/null; then
|
||||||
go test -v -race -coverprofile=profile.out -covermode=atomic $d
|
go test -v -race -coverprofile=profile.out -covermode=atomic $d
|
||||||
if [ -f profile.out ]; then
|
if [ -f profile.out ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user