File tree 5 files changed +14
-8
lines changed
5 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 13
13
run : |
14
14
cp -R addon servo_animation
15
15
cp README.md LICENSE servo_animation
16
- blender --command extension build --source-dir addon --output-filepath blender_servo_animation_addon.zip
16
+ ./scripts/ build.sh
17
17
- name : Archive add-on ZIP
18
18
uses : actions/upload-artifact@v4
19
19
with :
@@ -57,10 +57,10 @@ jobs:
57
57
name : blender_servo_animation_addon.zip
58
58
- name : Install add-on
59
59
run : |
60
- blender --command extension install-file -r user_default -e blender_servo_animation_addon.zip
60
+ ./scripts/ install.sh
61
61
- name : Install test dependencies inside Blender
62
62
run : |
63
- ./tests /prepare.sh
63
+ ./scripts /prepare.sh
64
64
- name : Run tests inside Blender
65
65
run : |
66
- ./tests /test.sh
66
+ ./scripts /test.sh
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ blender --command extension build --source-dir addon --output-filepath blender_servo_animation_addon.zip
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ blender --command extension install-file -r user_default -e blender_servo_animation_addon.zip
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- TESTSDIR =$( dirname " $0 " )
3
+ PARENTDIR =$( dirname " $current_dir " )
4
4
5
5
blender \
6
6
-noaudio \
7
7
--background \
8
8
--python-use-system-env \
9
9
--python-exit-code 1 \
10
- --python $TESTSDIR /prepare.py
10
+ --python $PARENTDIR /tests /prepare.py
11
11
12
12
exit $?
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- TESTSDIR =$( dirname " $0 " )
4
- TESTFILE=" $TESTSDIR /results.txt"
3
+ PARENTDIR =$( dirname " $current_dir " )
4
+ TESTFILE=" $PARENTDIR /tests /results.txt"
5
5
6
6
blender \
7
7
-noaudio \
You can’t perform that action at this time.
0 commit comments