generated from ulavalIFTGLOateliers/GLO2005-Migration
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (32 loc) · 924 Bytes
/
classroom.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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: Autograding
id: autograding
uses: education/autograding-command-grader@v1
with:
test-name: Autograding
setup-command: wget -O grading.sh https://raw.githubusercontent.com/ulavalIFTGLOateliers/IFT2004-GLO2005-Migration-Correction/master/grading.sh
&& chmod 777 grading.sh
command: "./grading.sh"
timeout: 10
max-score: 9
- name: Autograding Reporter
uses: education/autograding-grading-reporter@v1
env:
AUTOGRADING_RESULTS: "${{steps.autograding.outputs.result}}"
with:
runners: autograding