We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ba26c9 commit cd00a12Copy full SHA for cd00a12
.github/workflows/run_test_script.yml
@@ -0,0 +1,29 @@
1
+name: Run Shell Script
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ - lab3A
8
+ - lab3B
9
+ - lab3C
10
+ - lab3D
11
+ pull_request:
12
13
14
+ schedule:
15
+ - cron: '0 0 * * *' # 每天运行一次
16
17
+jobs:
18
+ run-shell-script:
19
+ runs-on: ubuntu-latest
20
21
+ steps:
22
+ - name: Checkout repository
23
+ uses: actions/checkout@v2
24
25
+ - name: Set up permissions
26
+ run: chmod +x src/raft/runtest.sh # 确保你的脚本有执行权限
27
28
+ - name: Run shell script
29
+ run: ./src/raft/runtest.sh 3A 10
0 commit comments