Skip to content

Autograding Tests

Autograding Tests #2

Workflow file for this run

name: Autograding Tests
'on':
- workflow_dispatch
- repository_dispatch
permissions:
checks: write
actions: read
contents: read
jobs:
run-autograding-tests:
runs-on: ubuntu-latest
if: github.actor != 'github-classroom[bot]'
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: PigLatin Test
id: piglatin-test
uses: classroom-resources/autograding-command-grader@v1
with:
test-name: PigLatin Test
setup-command: ''
command: gradle test
timeout: 10
- name: Autograding Reporter
uses: classroom-resources/autograding-grading-reporter@v1
env:
PIGLATIN-TEST_RESULTS: "${{steps.piglatin-test.outputs.result}}"
with:
runners: piglatin-test