mirror of
https://github.com/Exp-Intro-to-GitHub-Flow-Cohort-1/series-intro-to-github-flow-dyzulk.git
synced 2026-01-26 21:31:54 +07:00
GitHub Classroom Autograding
This commit is contained in:
committed by
GitHub
parent
fc7cca28ea
commit
876fcf8dee
44
.github/classroom/autograding.json
vendored
Normal file
44
.github/classroom/autograding.json
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user