Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First setup of github action for automated blender testing #584

Merged
merged 44 commits into from
Jun 8, 2024
Merged
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
34cb810
First setup of github action for automated blender testing
TheDuckCow Jun 1, 2024
971330f
Installing requirements via file instead of individually.
TheDuckCow Jun 1, 2024
e75df62
Don't look at me
TheDuckCow Jun 1, 2024
b0bc678
Limiting for a single functional test and updating the python setup ver
TheDuckCow Jun 1, 2024
feadcd9
Added step to download and place assets from a release
TheDuckCow Jun 5, 2024
669dce9
Updating to run all tests
TheDuckCow Jun 5, 2024
e2394c4
Adding some debug to sort out paths
TheDuckCow Jun 5, 2024
2fb23a5
Updated debug prints
TheDuckCow Jun 5, 2024
da24252
Yaml syntax change
TheDuckCow Jun 5, 2024
2b3f88a
Tuned outputs of download assets step
TheDuckCow Jun 5, 2024
bdbedf7
Testing with just material tests
TheDuckCow Jun 6, 2024
127359e
Additional print path debugging
TheDuckCow Jun 6, 2024
26eea78
Extra print after compile script ahead of test runs
TheDuckCow Jun 6, 2024
249489e
Lots of path debugging
TheDuckCow Jun 6, 2024
c8a7717
Sigh.
TheDuckCow Jun 6, 2024
cabdd1f
Force installing MCprep 'manually' to get the intended path.
TheDuckCow Jun 6, 2024
3633bf6
More debug prints
TheDuckCow Jun 6, 2024
c9fb96a
Are we having fun yet
TheDuckCow Jun 6, 2024
9088ed3
🤞
TheDuckCow Jun 6, 2024
4b1b286
Testing addon level enable/disable
TheDuckCow Jun 6, 2024
d092ddd
Disabling some prints and letting runner do running
TheDuckCow Jun 6, 2024
e0fca0a
Print cleanup and checking output, plus allow more tests
TheDuckCow Jun 6, 2024
0783646
More print debug statements
TheDuckCow Jun 8, 2024
9659b80
Trying to preemptively rename the json file before tests run
TheDuckCow Jun 8, 2024
1ee6946
More print debugs
TheDuckCow Jun 8, 2024
5543e57
Moving the last prints into the actually relevant block
TheDuckCow Jun 8, 2024
163d813
Switching to checking a single test to debug further
TheDuckCow Jun 8, 2024
86c69bf
You know the drill. Plus a typo fix
TheDuckCow Jun 8, 2024
26ee253
Fixed cat command
TheDuckCow Jun 8, 2024
0f587e2
Doing tail to really check if the json is messed up
TheDuckCow Jun 8, 2024
c0f717f
Force overwrite to use checked in json
TheDuckCow Jun 8, 2024
5165b81
Attempt to run all tests
TheDuckCow Jun 8, 2024
e9706d5
One of the rig files crashes it, so trying different tests first.
TheDuckCow Jun 8, 2024
a4151a0
Checking the sample resource blend and trying a git lfs pull
TheDuckCow Jun 8, 2024
31edccb
Adding the LFS part
TheDuckCow Jun 8, 2024
6233efb
Change order
TheDuckCow Jun 8, 2024
a45abd5
With git lfs working, trying the whole thing again
TheDuckCow Jun 8, 2024
ac97e53
Moved location of the git lfs pull
TheDuckCow Jun 8, 2024
162a896
Fixed the download
TheDuckCow Jun 8, 2024
a00fbba
Updating the reference
TheDuckCow Jun 8, 2024
de57abc
Output results in another steps, as outputs might be truncated.
TheDuckCow Jun 8, 2024
c5634a1
Cleaning up all the debug prints
TheDuckCow Jun 8, 2024
3231fb7
Reducing diff size
TheDuckCow Jun 8, 2024
6e22a99
Workflow cleanup
TheDuckCow Jun 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
With git lfs working, trying the whole thing again
TheDuckCow committed Jun 8, 2024
commit a45abd50a4612787aecf3aac175492cb2c0ca8bf
2 changes: 1 addition & 1 deletion .github/workflows/run_tests.yaml
Original file line number Diff line number Diff line change
@@ -81,7 +81,7 @@ jobs:
ls -lta /home/runner/work/MCprep/MCprep/test_files/test_resource_pack/materials.blend
git lfs pull
ls -lta /home/runner/work/MCprep/MCprep/test_files/test_resource_pack/materials.blend
python run_tests.py -t MaterialsTest
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)