exclude test generated sql files

This commit is contained in:
Pablo Martin 2025-03-20 16:49:31 +01:00
parent fa914e8e26
commit a56a96d1c4

View file

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