From b8e995eb0ac80b74a619bf1e2351929bcacfe6a2 Mon Sep 17 00:00:00 2001 From: "github-classroom[bot]" <66690702+github-classroom[bot]@users.noreply.github.com> Date: Tue, 19 Dec 2023 14:26:14 +0000 Subject: [PATCH] GitHub Classroom Autograding --- .github/classroom/autograding.json | 64 ++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 .github/classroom/autograding.json diff --git a/.github/classroom/autograding.json b/.github/classroom/autograding.json new file mode 100644 index 0000000..6df9226 --- /dev/null +++ b/.github/classroom/autograding.json @@ -0,0 +1,64 @@ +{ + "tests": [ + { + "name": "Step 0 Welcome", + "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 1 Copilot Extension", + "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 javascript", + "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 Copilot Hub", + "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 Copilot comment", + "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 + }, + { + "name": "Step 5 finish", + "setup": "sleep 20", + "run": "[ $(cat .github/steps/-step.txt) -ge 5 ] || [ $(cat .github/steps/-step.txt) = X ]", + "input": "", + "output": "", + "comparison": "included", + "timeout": 10, + "points": 1 + } + ] +} \ No newline at end of file