mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 06:39:13 +00:00
add IfcConvert testing on sample files step to ci.yml
This commit is contained in:
@@ -86,6 +86,20 @@ jobs:
|
|||||||
sudo make -j $(nproc)
|
sudo make -j $(nproc)
|
||||||
sudo make install
|
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
|
- name: Install Python dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo /usr/bin/python -m pip install -U pip
|
sudo /usr/bin/python -m pip install -U pip
|
||||||
|
|||||||
Reference in New Issue
Block a user