Run the bulk of pytest in parallel

This commit is contained in:
Thomas Krijnen
2025-10-25 15:38:25 +02:00
parent fa46fe0cf0
commit 0f8c6ffe9e
2 changed files with 7 additions and 1 deletions
+5
View File
@@ -76,6 +76,11 @@ build-urls:
test:
pytest -p no:pytest-blender test --ignore=test/util/test_shape_builder.py
.PHONY: test-parallel
test-parallel:
@NPROCS=$$(nproc); \
pytest -p no:pytest-blender -n $$NPROCS test --ignore=test/util/test_shape_builder.py
.PHONY: test-mathutils
test-mathutils:
pytest -p no:pytest-blender test/util/test_shape_builder.py