mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-06 07:51:47 +00:00
Fix workflow for tests requiring Sun Position extension
This commit is contained in:
@@ -142,6 +142,12 @@ jobs:
|
|||||||
sverchok_zip="$(pwd)/dist/$(ls dist)"
|
sverchok_zip="$(pwd)/dist/$(ls dist)"
|
||||||
blender --command extension install-file -r user_default $sverchok_zip
|
blender --command extension install-file -r user_default $sverchok_zip
|
||||||
|
|
||||||
|
# Install Sun Position extension.
|
||||||
|
blender --online-mode --command extension sync
|
||||||
|
blender --online-mode --background --python-expr "import bpy; \
|
||||||
|
bpy.ops.extensions.package_install(repo_index=0, pkg_id='sun_position'); \
|
||||||
|
bpy.ops.preferences.addon_enable(module='bl_ext.blender_org.sun_position'); bpy.ops.wm.save_userpref()"
|
||||||
|
|
||||||
cd ../bonsai
|
cd ../bonsai
|
||||||
pip install pytest-blender
|
pip install pytest-blender
|
||||||
blender --background --python scripts/setup_pytest.py
|
blender --background --python scripts/setup_pytest.py
|
||||||
|
|||||||
Reference in New Issue
Block a user