forked from exercism/python-test-runner
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
25 lines (25 loc) · 934 Bytes
/
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
name: "GitHub Classroom Python Grader"
author: "GitHub"
description: "A plugin for GitHub Classroom's Autograder using pytest to ensure student executables output the correct values on tests."
inputs:
timeout:
description: "Duration (in minutes) before the test is terminated. Defaults to 10 minutes with a maximum limit of 60 minutes."
default: "10"
required: true
max-score:
description: "The maximum amount of points a student can receive for this test."
required: false
setup-command:
description: "Command to execute prior to the test, typically for environment setup or dependency installation."
required: false
outputs:
result:
description: "Runner output"
runs:
using: docker
image: Dockerfile
entrypoint: "/opt/test-runner/bin/run.sh"
args:
- "--timeout=${{ inputs.timeout }}"
- "--max-score=${{ inputs.max-score }}"
- "--setup-command=${{ inputs.setup-command }}"