mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 18:16:40 +00:00
localize mathutils dependency in tests #3895
replaced shapebuilder with general ifcopenshell code in `test_add_boolean` (the only place besides `test_shape_builder` where it was used), that way mathutils dependency in tests is localized only to `test_shape_builder.py`. added test-safe option to makefile, so github workflow would ignore `test_shape_builder` tests for now and it wouldn't interrupt the entire workflow
This commit is contained in:
@@ -68,6 +68,12 @@ endif
|
||||
test:
|
||||
pytest -p no:pytest-blender test
|
||||
|
||||
# safe version of tests without mathutils dependency
|
||||
# for tests to work for github workflow with python <3.10 #3895
|
||||
.PHONY: test-safe
|
||||
test-safe:
|
||||
pytest -p no:pytest-blender test --ignore=test/util/test_shape_builder.py
|
||||
|
||||
.PHONY: build-ids-docs
|
||||
build-ids-docs:
|
||||
mkdir -p test/build
|
||||
|
||||
Reference in New Issue
Block a user