Skip to content

Commit 2ee7ef4

Browse files
committed
ci(workflow): 修复测试脚本路径并更新权限设置
ci(workflow): fix test script path and update permission settings
1 parent 9dd2cec commit 2ee7ef4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/go-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ jobs:
3737
run: |
3838
echo "port=8080" > backup.conf
3939
echo "callback_secret=my-test-secret" >> backup.conf
40-
echo "scriptpath=./test-script.sh" >> backup.conf
41-
echo "#!/bin/bash" > test-script.sh
42-
echo 'echo "script output"' >> test-script.sh
43-
chmod +x test-script.sh
40+
echo "scriptpath=../../test-script.sh" >> backup.conf
41+
echo "#!/bin/bash" > ../../test-script.sh
42+
echo 'echo "script output"' >> ../../test-script.sh
43+
chmod +x ../../test-script.sh
4444
4545
- name: Run integration test
4646
run: |

0 commit comments

Comments
 (0)