Skip to content

Commit

Permalink
GitHub Classroom Autograding Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
github-classroom[bot] authored Nov 11, 2024
1 parent 02b4d7e commit a38c799
Showing 1 changed file with 39 additions and 1 deletion.
40 changes: 39 additions & 1 deletion .github/workflows/classroom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,47 @@ jobs:
command: npm run test run conditions
timeout: 10
max-score: 4
- name: Test strings
id: test-strings
uses: classroom-resources/autograding-command-grader@v1
with:
test-name: Test strings
setup-command: npm install
command: npm run test run strings
timeout: 10
max-score: 4
- name: Test maths
id: test-maths
uses: classroom-resources/autograding-command-grader@v1
with:
test-name: Test maths
setup-command: npm install
command: npm run test run maths
timeout: 10
max-score: 4
- name: Test arrays
id: test-arrays
uses: classroom-resources/autograding-command-grader@v1
with:
test-name: Test arrays
setup-command: npm install
command: npm run test run arrays
timeout: 10
- name: Test objects
id: test-objects
uses: classroom-resources/autograding-command-grader@v1
with:
test-name: Test objects
setup-command: npm install
command: npm run test run objects
timeout: 10
- name: Autograding Reporter
uses: classroom-resources/autograding-grading-reporter@v1
env:
TEST-CONDITIONS_RESULTS: "${{steps.test-conditions.outputs.result}}"
TEST-STRINGS_RESULTS: "${{steps.test-strings.outputs.result}}"
TEST-MATHS_RESULTS: "${{steps.test-maths.outputs.result}}"
TEST-ARRAYS_RESULTS: "${{steps.test-arrays.outputs.result}}"
TEST-OBJECTS_RESULTS: "${{steps.test-objects.outputs.result}}"
with:
runners: test-conditions
runners: test-conditions,test-strings,test-maths,test-arrays,test-objects

0 comments on commit a38c799

Please sign in to comment.