Skip to content

Commit a996a19

Browse files
Create GitHub Classroom Autograding Workflow
0 parents  commit a996a19

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/classroom.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Autograding Tests
2+
'on':
3+
- push
4+
- repository_dispatch
5+
permissions:
6+
checks: write
7+
actions: read
8+
contents: read
9+
jobs:
10+
run-autograding-tests:
11+
runs-on: ubuntu-latest
12+
if: github.actor != 'github-classroom[bot]'
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v4
16+
- name: Main
17+
id: main
18+
uses: classroom-resources/autograding-python-grader@v1
19+
with:
20+
timeout: 10
21+
setup-command: ''
22+
- name: Autograding Reporter
23+
uses: classroom-resources/autograding-grading-reporter@v1
24+
env:
25+
MAIN_RESULTS: "${{steps.main.outputs.result}}"
26+
with:
27+
runners: main

0 commit comments

Comments
 (0)