kopia lustrzana https://github.com/vilemduha/blendercam
Update build_and_test.yaml
rodzic
9327bf3b2e
commit
6a4326e47f
|
|
@ -35,13 +35,6 @@ jobs:
|
|||
with:
|
||||
file_path: ${{ steps.download.outputs.BLENDER_ARCHIVE }}
|
||||
extract_dir: blender
|
||||
- name: Run tests
|
||||
shell: bash
|
||||
run: |
|
||||
export BLENDER_BIN_PATH=${PWD}/blender/$(ls -AU blender | head -1)
|
||||
export PATH=$PATH:${BLENDER_BIN_PATH}
|
||||
cd scripts/addons/cam/tests
|
||||
python test_suite.py
|
||||
- name: Build Blender Addon
|
||||
uses: BlenderKit/blender-addon-build@v0.1
|
||||
with:
|
||||
|
|
@ -49,6 +42,14 @@ jobs:
|
|||
build-location: './scripts/addons'
|
||||
do-checkout: 'false'
|
||||
exclude-files: '.git;.github;.gitignore;cam/tests/'
|
||||
- name: Run tests
|
||||
shell: bash
|
||||
run: |
|
||||
export BLENDER_BIN_PATH=${PWD}/blender/$(ls -AU blender | head -1)
|
||||
export PATH=$PATH:${BLENDER_BIN_PATH}
|
||||
cd scripts/addons/cam/tests
|
||||
python install_addon.py ../../../../blendercam.zip
|
||||
python test_suite.py
|
||||
- name: upload blender addon zip file
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue