Skip to content

Commit 85b6767

Browse files
committed
ci(workflow): 更新测试工作流中的配置键名和进程清理命令
ci(workflow): update config key name and process cleanup command in test workflow
1 parent b93c23f commit 85b6767

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/go-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Create test files
3737
run: |
3838
echo "Port=8080" > backup.conf
39-
echo "CallbackSecret=my-test-secret" >> backup.conf
39+
echo "callback_secret=my-test-secret" >> backup.conf
4040
echo "ScriptPath=./test-script.sh" >> backup.conf
4141
echo "#!/bin/bash" > test-script.sh
4242
echo 'echo "script output"' >> test-script.sh
@@ -84,7 +84,7 @@ jobs:
8484
echo "Integration test passed"
8585
8686
# Cleanup
87-
pkill -f ./myapp || true
87+
killall myapp || true
8888
8989
- name: Output application logs
9090
if: always()

0 commit comments

Comments
 (0)