Skip to content

Commit

Permalink
Workflow cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
TheDuckCow committed Jun 8, 2024
1 parent 3231fb7 commit 6e22a99
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/run_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6e22a99

Please sign in to comment.