-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from uhafner/refactoring
Refactoring: split model, UI and backend
- Loading branch information
Showing
21 changed files
with
882 additions
and
654 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
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 |
---|---|---|
@@ -1,27 +1,22 @@ | ||
name: Autograding Actions Plugin | ||
description: Autograding Actions Plugin that evaluates code based on configurable quality critera. | ||
name: Autograding Action | ||
description: Action that autogrades assignments based on configurable quality critera. | ||
|
||
|
||
inputs: | ||
CONFIG: | ||
description: "Autograding config." | ||
description: "Autograding configuration" | ||
required: false | ||
default: "/default.conf" | ||
TOKEN: | ||
description: "GitHub token." | ||
description: "GitHub token" | ||
required: true | ||
DEBUG: | ||
description: "Enable debug if set." | ||
required: false | ||
|
||
runs: | ||
using: 'docker' | ||
image: 'Dockerfile' | ||
env: | ||
CONFIG: ${{ inputs.CONFIG }} | ||
TOKEN: ${{ inputs.TOKEN }} | ||
DEBUG: ${{ inputs.DEBUG }} | ||
|
||
branding: | ||
icon: check | ||
color: red | ||
color: red |
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
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 |
---|---|---|
@@ -1,12 +1,4 @@ | ||
#!/bin/sh | ||
|
||
# JUnit, CMD, Checkstyle, FindBugs | ||
mvn -ntp -V -e clean verify -Dmaven.test.failure.ignore -Dgpg.skip | ||
# Build with maven (pit) | ||
mvn -ntp org.pitest:pitest-maven:mutationCoverage | ||
# Build with maven (jacoco) | ||
mvn -ntp -V -U -e jacoco:prepare-agent test jacoco:report -Dmaven.test.failure.ignore | ||
|
||
# Get report | ||
java -jar /target/github-actions-autograding-jar-with-dependencies.jar | ||
|
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
Oops, something went wrong.