File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 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 : test
17+ id : test
18+ uses : classroom-resources/autograding-io-grader@v1
19+ with :
20+ test-name : test
21+ setup-command : |
22+ gcc tes.c -o tes
23+ command : " ./tes.c"
24+ input : test
25+ expected-output : test
26+ comparison-method : exact
27+ timeout : 10
28+ max-score : 10
29+ - name : Autograding Reporter
30+ uses : classroom-resources/autograding-grading-reporter@v1
31+ env :
32+ TEST_RESULTS : " ${{steps.test.outputs.result}}"
33+ with :
34+ runners : test
You can’t perform that action at this time.
0 commit comments