Test IfcConvert only on single file

This commit is contained in:
Thomas Krijnen
2025-10-25 15:54:15 +02:00
parent 74f8b047fb
commit 325745a822
+16 -13
View File
@@ -121,20 +121,23 @@ jobs:
sudo make -j $(nproc) sudo make -j $(nproc)
sudo make install sudo make install
- name: Run IfcConvert on Sample files # - name: Run IfcConvert on Sample files
run: | # run: |
(find test/input src/bonsai/test/files -name '*.ifc' | while read i; do \ # (find test/input src/bonsai/test/files -name '*.ifc' | while read i; do \
echo $i | tee -a log; \ # echo $i | tee -a log; \
timeout 1m "$(which IfcConvert)" -yv "$i" "$i.obj" --validate >> log 2>&1; \ # timeout 1m "$(which IfcConvert)" -yv "$i" "$i.obj" --validate >> log 2>&1; \
echo $i $? >> statuses; \ # echo $i $? >> statuses; \
done) || true # done) || true
echo Failed # echo Failed
grep -v 0$ statuses # grep -v 0$ statuses
grep -v 0$ statuses | wc -l # grep -v 0$ statuses | wc -l
echo Succeeded # echo Succeeded
grep 0$ statuses # grep 0$ statuses
grep 0$ statuses | wc -l # grep 0$ statuses | wc -l
- name: Run IfcConvert on Sample file
run: |
IfcConvert test/input/acad2010_walls.ifc test/input/acad2010_walls.obj
- name: Test ifcopenshell-python - name: Test ifcopenshell-python
run: | run: |