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 Jan 30, 2025
1 parent b5cf42c commit fc8dd1d
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/classroom.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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: Palindrome Test
id: palindrome-test
uses: classroom-resources/autograding-command-grader@v1
with:
test-name: Palindrome Test
setup-command: ''
command: gradle test
timeout: 10
- name: Autograding Reporter
uses: classroom-resources/autograding-grading-reporter@v1
env:
PALINDROME-TEST_RESULTS: "${{steps.palindrome-test.outputs.result}}"
with:
runners: palindrome-test

0 comments on commit fc8dd1d

Please sign in to comment.