-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathaction.yml
27 lines (26 loc) · 1.02 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: "GitHub Classroom Command Grader"
author: "GitHub"
description: "A plugin for GitHub Classroom's Autograder. Seamlessly integrate your CS class with GitHub using this action to facilitate the grading process."
inputs:
test-name:
description: "The unique identifier for the test."
required: true
setup-command:
description: "Command to execute prior to the test, typically for environment setup or dependency installation."
required: false
command:
description: "Primary command to run for the test. A zero exit code signifies a successful test."
required: true
timeout:
description: "Duration (in minutes) before the test is terminated. Defaults to 10 minutes with a maximum limit of 6 hours."
default: "10"
required: false
max-score:
description: "Maximum points awarded upon a successful test."
required: false
outputs:
result:
description: "Outputs the result of the grader, indicating the success or failure of the test."
runs:
using: 'node20'
main: 'dist/main.js'