diff --git a/.github/workflows/ids-lint.yml b/.github/workflows/ids-lint.yml index 2efe753..c7cc567 100644 --- a/.github/workflows/ids-lint.yml +++ b/.github/workflows/ids-lint.yml @@ -40,7 +40,11 @@ jobs: exit 0 fi - ifc_files=(**/*.ifc) + all_ifc=(**/*.ifc) + ifc_files=() + for f in "${all_ifc[@]}"; do + [[ "$f" == libraries/* ]] || ifc_files+=("$f") + done if [ ${#ifc_files[@]} -eq 0 ]; then echo "No IFC files found" diff --git a/.github/workflows/ifc-lint.yml b/.github/workflows/ifc-lint.yml index d6acac8..88e7e83 100644 --- a/.github/workflows/ifc-lint.yml +++ b/.github/workflows/ifc-lint.yml @@ -27,6 +27,7 @@ jobs: set -e shopt -s globstar nullglob for file in **/*.ifc; do + [[ "$file" == libraries/* ]] && continue echo "Validating $file..." python3 -m ifcopenshell.validate --rules "$file" done