Skip to content

Commit

Permalink
Add extra check for invalid UTF-8 BOM of IFC files
Browse files Browse the repository at this point in the history
  • Loading branch information
thbeu authored and aothms committed Apr 3, 2024
1 parent ed83d2e commit 6d60176
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
unzip ifcopenshell-python-311-v0.7.0-f7c03db-linux64.zip -d ~/.local/lib/python3.11/site-packages
git clone --depth 1 https://github.com/IfcOpenShell/step-file-parser
pip install --user -r ./step-file-parser/requirements.in
- name: Check for UTF-8 BOM
run: "! find ./models -name '*.ifc' -print0 | xargs -0 grep -l $'^\\xEF\\xBB\\xBF' | grep ."
- name: Validate IFC example files
run: |
valid_count=0
Expand Down

0 comments on commit 6d60176

Please sign in to comment.