File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Autograding Tests
2
+ on :
3
+ - push
4
+ - workflow_dispatch
5
+ - repository_dispatch
6
+ permissions :
7
+ checks : write
8
+ actions : read
9
+ contents : read
10
+ jobs :
11
+ run-autograding-tests :
12
+ runs-on : ubuntu-latest
13
+ if : github.actor != 'github-classroom[bot]'
14
+ steps :
15
+ - name : Checkout code
16
+ uses : actions/checkout@v4
17
+ # This is where you place your autograding tests
18
+ # For more information on this runner, see the documentation at: https://github.com/classroom-resources/autograding-io-grader
19
+ #
20
+ # For example, you could run a test suite like this:
21
+ # - name: Run tests
22
+ # uses: classroom-resources/autograding-io-grader@v1
23
+ # with:
24
+ # test-name: Addition Test
25
+ # id: addition-test
26
+ # command: "./bin/add.sh"
27
+ # input: 1 2
28
+ # expected-output: 3
29
+ # comparison-method: exact
30
+ # timeout: 10
31
+ - name : Autograding Reporter
32
+ uses : classroom-resources/autograding-grading-reporter@v1
33
+ # For more information on this runner, see the documentation at https://github.com/classroom-resources/autograding-grading-reporter
34
+ # To output the results of the tests, you can use the
35
+ # autograding-grading-reporter action like this:
36
+ # env:
37
+ # ADDITION-TEST_RESULTS: "${{ steps.addition - test.outputs.result }}"
38
+ # with:
39
+ # runners: addition-test
You can’t perform that action at this time.
0 commit comments