Skip to content

Update classroom.yml #2

Update classroom.yml

Update classroom.yml #2

Workflow file for this run

name: Autograding Tests
'on':
- push
- 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: parta
id: parta
uses: classroom-resources/autograding-command-grader@v1
with:
test-name: parta
setup-command: ''
command: gradle test --tests "FrogSimulationTest.partA"
timeout: 10
max-score: 1
- name: partb
id: partb
uses: classroom-resources/autograding-command-grader@v1
with:
test-name: partb
setup-command: ''
command: gradle test --tests "FrogSimulationTest.partB"
timeout: 10
max-score: 1
- name: Autograding Reporter
uses: classroom-resources/autograding-grading-reporter@v1
env:
PARTA_RESULTS: "${{steps.partb.outputs.result}}"
PARTB_RESULTS: "${{steps.partb.outputs.result}}"
with:
runners: parta,partb