generated from APCSLowell/2019A4-LightBoard
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GitHub Classroom Autograding Workflow
- Loading branch information
1 parent
921df5d
commit 57ea049
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
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: LightBoard Test | ||
id: lightboard-test | ||
uses: education/autograding-command-grader@v1 | ||
with: | ||
test-name: LightBoard Test | ||
setup-command: '' | ||
command: gradle test | ||
timeout: 10 | ||
- name: Autograding Reporter | ||
uses: education/autograding-grading-reporter@v1 | ||
env: | ||
LIGHTBOARD-TEST_RESULTS: "${{steps.lightboard-test.outputs.result}}" | ||
with: | ||
runners: lightboard-test |