diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5845b9d8d7..d2fba23d85 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -136,3 +136,7 @@ jobs: cd ../ifcpatch && make test pip install -e ../ifctester --no-deps cd ../ifctester && make test + # Run mathutils related tests at the end to ensure no other code is relying on mathutils. + cd ../ifcopenshell-python + pip install mathutils + make test-mathutils diff --git a/src/ifcopenshell-python/Makefile b/src/ifcopenshell-python/Makefile index 883f3a6cde..776083d04c 100644 --- a/src/ifcopenshell-python/Makefile +++ b/src/ifcopenshell-python/Makefile @@ -60,7 +60,11 @@ IFCCONVERT_URL:=https://s3.amazonaws.com/ifcopenshell-builds/IfcConvert-v0.8.3-e .PHONY: test test: - pytest -p no:pytest-blender test + pytest -p no:pytest-blender test --ignore=test/util/test_shape_builder.py + +.PHONY: test-mathutils +test-mathutils: + pytest -p no:pytest-blender test/util/test_shape_builder.py .PHONY: build-ids-docs build-ids-docs: