We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0282316 commit 538bd00Copy full SHA for 538bd00
.github/workflows/classroom.yml
@@ -0,0 +1,29 @@
1
+name: Autograding Tests
2
+'on':
3
+- workflow_dispatch
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: Digits Test
17
+ id: digits-test
18
+ uses: classroom-resources/autograding-command-grader@v1
19
+ with:
20
+ test-name: Digits Test
21
+ setup-command: ''
22
+ command: gradle test
23
+ timeout: 10
24
+ - name: Autograding Reporter
25
+ uses: classroom-resources/autograding-grading-reporter@v1
26
+ env:
27
+ DIGITS-TEST_RESULTS: "${{steps.digits-test.outputs.result}}"
28
29
+ runners: digits-test
0 commit comments