bcf, bsdd - add "make test"

This commit is contained in:
Andrej730
2024-08-01 16:27:58 +05:00
parent 4b00b268c0
commit 8523bb317a
2 changed files with 7 additions and 1 deletions
+4
View File
@@ -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
View File
@@ -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