-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (29 loc) · 818 Bytes
/
classroom.yml
File metadata and controls
29 lines (29 loc) · 818 Bytes
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
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: RandomStringChooser Test
id: randomstringchooser-test
uses: classroom-resources/autograding-command-grader@v1
with:
test-name: RandomStringChooser Test
setup-command: ''
command: gradle test
timeout: 10
- name: Autograding Reporter
uses: classroom-resources/autograding-grading-reporter@v1
env:
RANDOMSTRINGCHOOSER-TEST_RESULTS: "${{steps.randomstringchooser-test.outputs.result}}"
with:
runners: randomstringchooser-test