Update build_and_test.yaml

pull/254/head
Joe Marshall 2024-01-11 11:19:43 +00:00 zatwierdzone przez GitHub
rodzic 9327bf3b2e
commit 6a4326e47f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 8 dodań i 7 usunięć

Wyświetl plik

@ -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: