From 6e22a995587ddd32b601a79544612f16f37d84b1 Mon Sep 17 00:00:00 2001 From: "Patrick W. Crawford" Date: Sat, 8 Jun 2024 15:04:56 -0700 Subject: [PATCH] Workflow cleanup --- .github/workflows/run_tests.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/run_tests.yaml b/.github/workflows/run_tests.yaml index 4df56a46..f91dd1ad 100644 --- a/.github/workflows/run_tests.yaml +++ b/.github/workflows/run_tests.yaml @@ -66,23 +66,20 @@ jobs: if: always() run: | # TODO: use git describe --tags or equivalent to automatically get latest stable. - # or at least hard code this more recent one: wget -nv "https://github.com/Moo-Ack-Productions/MCprep/releases/download/3.5.3/MCprep_addon_3.5.3.zip" git lfs pull mkdir MCprep_stable_release unzip -qq ./MCprep_addon_*.zip -d MCprep_stable_release - # copy the checked-in json file + # Copy the checked-in data json to override the wget version mv ./MCprep_addon/MCprep_resources/mcprep_data_update.json _tmp.json mv -f ./MCprep_stable_release/MCprep_addon/MCprep_resources/** ./MCprep_addon/MCprep_resources mv -f _tmp.json ./MCprep_addon/MCprep_resources/mcprep_data_update.json echo "Prepare for install by creating addons folder" mkdir -p /home/runner/.config/blender/4.1/scripts/addons + echo $(ls /home/runner/.config/blender/4.1/scripts/addons) + echo $(ls /home/runner/.config/blender/4.1/scripts/addons/MCprep_addon/MCprep_resources) - name: Run tests run: | - ls -lta /home/runner/work/MCprep/MCprep/test_files/test_resource_pack/materials.blend python run_tests.py - echo "Addon was installed?" - echo $(ls /home/runner/.config/blender/4.1/scripts/addons) - echo $(ls /home/runner/.config/blender/4.1/scripts/addons/MCprep_addon/MCprep_resources) - name: Output results run: cat test_results.csv