Files
series-intro-to-github-flow…/.github/classroom/autograding.json
2023-10-06 15:18:16 +00:00

44 lines
1.2 KiB
JSON

{
"tests": [
{
"name": "Step 1 Create a Branch",
"setup": "sleep 20",
"run": "[ $(cat .github/steps/-step.txt) -ge 1 ] || [ $(cat .github/steps/-step.txt) = X ]",
"input": "",
"output": "",
"comparison": "included",
"timeout": 10,
"points": 1
},
{
"name": "Step 2 Commit a File",
"setup": "sleep 20",
"run": "[ $(cat .github/steps/-step.txt) -ge 2 ] || [ $(cat .github/steps/-step.txt) = X ]",
"input": "",
"output": "",
"comparison": "included",
"timeout": 10,
"points": 1
},
{
"name": "Step 3 Open a Pull Request",
"setup": "sleep 20",
"run": "[ $(cat .github/steps/-step.txt) -ge 3 ] || [ $(cat .github/steps/-step.txt) = X ]",
"input": "",
"output": "",
"comparison": "included",
"timeout": 10,
"points": 1
},
{
"name": "Step 4 Merge Your Pull Request",
"setup": "sleep 20",
"run": "[ $(cat .github/steps/-step.txt) -ge 4 ] || [ $(cat .github/steps/-step.txt) = X ]",
"input": "",
"output": "",
"comparison": "included",
"timeout": 10,
"points": 1
}
]
}