Skip to content

Commit 1f261e7

Browse files
GitHub Classroom Autograding
1 parent 3c81b8f commit 1f261e7

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

.github/classroom/autograding.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"tests": [
3+
{
4+
"name": "Step 1 Create a Branch",
5+
"setup": "sleep 20",
6+
"run": "[ $(cat .github/steps/-step.txt) -ge 1 ] || [ $(cat .github/steps/-step.txt) = X ]",
7+
"input": "",
8+
"output": "",
9+
"comparison": "included",
10+
"timeout": 10,
11+
"points": 1
12+
},
13+
{
14+
"name": "Step 2 Commit a File",
15+
"setup": "sleep 20",
16+
"run": "[ $(cat .github/steps/-step.txt) -ge 2 ] || [ $(cat .github/steps/-step.txt) = X ]",
17+
"input": "",
18+
"output": "",
19+
"comparison": "included",
20+
"timeout": 10,
21+
"points": 1
22+
},
23+
{
24+
"name": "Step 3 Open a Pull Request",
25+
"setup": "sleep 20",
26+
"run": "[ $(cat .github/steps/-step.txt) -ge 3 ] || [ $(cat .github/steps/-step.txt) = X ]",
27+
"input": "",
28+
"output": "",
29+
"comparison": "included",
30+
"timeout": 10,
31+
"points": 1
32+
},
33+
{
34+
"name": "Step 4 Merge Your Pull Request",
35+
"setup": "sleep 20",
36+
"run": "[ $(cat .github/steps/-step.txt) -ge 4 ] || [ $(cat .github/steps/-step.txt) = X ]",
37+
"input": "",
38+
"output": "",
39+
"comparison": "included",
40+
"timeout": 10,
41+
"points": 1
42+
}
43+
]
44+
}

0 commit comments

Comments
 (0)