mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 18:21:59 +00:00
Test IfcConvert only on single file
This commit is contained in:
+16
-13
@@ -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: |
|
||||||
|
|||||||
Reference in New Issue
Block a user