exclude test generated sql files
This commit is contained in:
parent
fa914e8e26
commit
a56a96d1c4
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ check_sql() {
|
|||
export -f check_sql
|
||||
|
||||
# Run in parallel (adjust `-P` to change concurrency level)
|
||||
find "$SQL_DIR" -type f -name "*.sql" | xargs -P 8 -I {} bash -c 'check_sql "$@"' _ {}
|
||||
find "$SQL_DIR" -type f -name "*.sql" -not -path "*/schema.yml/*" | xargs -P 4 -I {} bash -c 'check_sql "$@"' _ {}
|
||||
|
||||
# Check exit status of xargs
|
||||
if [ $? -ne 0 ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue