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 Jul 23, 2024
0 parents commit 7b48a08
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
- 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: test_session5
id: test_session5
uses: classroom-resources/autograding-python-grader@v1
with:
timeout: 10
max-score: 480
setup-command: pip install pytest
- name: Autograding Reporter
uses: classroom-resources/autograding-grading-reporter@v1
env:
TEST_SESSION5_RESULTS: "${{steps.test_session5.outputs.result}}"
with:
runners: test_session5

0 comments on commit 7b48a08

Please sign in to comment.