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 Mar 27, 2024
1 parent 9e344dd commit 51c2417
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/classroom.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Autograding Tests
'on':
- push
- 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: Hello world test
id: hello-world-test
uses: education/autograding-python-grader@v1
with:
timeout: 5
max-score: 5
- name: Autograding Reporter
uses: education/autograding-grading-reporter@v1
env:
HELLO-WORLD-TEST_RESULTS: "${{steps.hello-world-test.outputs.result}}"
with:
runners: hello-world-test

0 comments on commit 51c2417

Please sign in to comment.