mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-06 07:51:47 +00:00
bcf, bsdd - add "make test"
This commit is contained in:
@@ -33,6 +33,10 @@ models:
|
||||
cd src && xsdata generate -p bcf.v2.model --unnest-classes --kw-only --slots -ds Google bcf/v2/xsd
|
||||
cd src && xsdata generate -p bcf.v3.model --unnest-classes --kw-only --slots -ds Google bcf/v3/xsd
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
pytest -p no:pytest-blender tests
|
||||
|
||||
# .PHONY
|
||||
# api:
|
||||
# openapi-python-client generate --url https://api.swaggerhub.com/apis/buildingSMART/BCF/3.0
|
||||
|
||||
+3
-1
@@ -22,4 +22,6 @@ include ../common.mk
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
pytest -p no:pytest-blender test
|
||||
# Using python -m pytest vs just using pytest is important here.
|
||||
# As just using pytest does not add current directory to PATH.
|
||||
python -m pytest -p no:pytest-blender tests
|
||||
|
||||
Reference in New Issue
Block a user