From c4cea2084928262c104f571863114b322ea88d61 Mon Sep 17 00:00:00 2001 From: Li1506 Date: Sat, 4 Feb 2023 17:20:50 +1100 Subject: [PATCH] add IfcConvert testing on sample files step to ci.yml --- .github/workflows/ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 500cec2258..4c5a85be82 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -86,6 +86,20 @@ jobs: sudo make -j $(nproc) sudo make install + - name: Run IfcConvert on Sample files + run: | + (find test/input src/blenderbim/test/files -name '*.ifc' | while read i; do \ + echo $i | tee -a log; \ + timeout 1m "$(which IfcConvert)" -yv "$i" "$i.obj" --validate >> log 2>&1; \ + echo $i $? >> statuses; \ + done) || true + echo Failed + grep -v 0$ statuses + grep -v 0$ statuses | wc -l + echo Succeeded + grep 0$ statuses + grep 0$ statuses | wc -l + - name: Install Python dependencies run: | sudo /usr/bin/python -m pip install -U pip