1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-04-13 11:50:28 +02:00

don't run tests on scripts/ directory

This commit is contained in:
Dawid Dziurla 2018-09-01 17:22:23 +02:00
parent b65fa852f1
commit 0355fc3008
No known key found for this signature in database
GPG Key ID: 7B6D8368172E9B0B

View File

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