ifcopenshell-python: move mathutils related tests to Bonsai

Previously tests never ran since workflow targets 3.11 and running tests is gated by Python 3.13.
This commit is contained in:
Andrej730
2026-09-04 11:23:13 +05:00
parent 253448c32a
commit dc69c19aa7
5 changed files with 137 additions and 111 deletions
-7
View File
@@ -269,13 +269,6 @@ jobs:
pip install -e ../ifctester --no-deps
cd ../ifctester && make test || fail "ifctester"
make build-ids-docs || fail "build-ids-docs"
# Run mathutils related tests at the end to ensure no other code is relying on mathutils.
# mathutils only has pre-built wheels for Python 3.13+; skip on older versions.
cd ../ifcopenshell-python
if python -c "import sys; sys.exit(0 if sys.version_info >= (3, 13) else 1)"; then
pip install mathutils
make test-mathutils || fail "mathutils"
fi
if [ $ERROR -ne 0 ]; then
echo "One or more tests failed";
exit 1;