-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example pull request that shows the autograding in action #287
Conversation
Bumps [kentaro-m/auto-assign-action](https://github.com/kentaro-m/auto-assign-action) from 1.1.2 to 1.2.0. - [Release notes](https://github.com/kentaro-m/auto-assign-action/releases) - [Commits](kentaro-m/auto-assign-action@v1.1.2...v1.2.0) --- updated-dependencies: - dependency-name: kentaro-m/auto-assign-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
…o-m/auto-assign-action-1.2.0 Bump kentaro-m/auto-assign-action from 1.1.2 to 1.2.0
…ons-io-2.10.0 Bump commons-io from 2.8.0 to 2.10.0
…m/action-label-syncer-1.2.0 Bump micnncim/action-label-syncer from 1 to 1.2.0
…alysis-model-10.2.5 Bump analysis-model from 10.0.0 to 10.2.5
…/cache-2.1.6 Bump actions/cache from 2.1.4 to 2.1.6
…d.tools-jib-maven-plugin-3.1.1 Bump jib-maven-plugin from 3.0.0 to 3.1.1
Bumps [micnncim/action-label-syncer](https://github.com/micnncim/action-label-syncer) from 1.2.0 to 1.3.0. - [Release notes](https://github.com/micnncim/action-label-syncer/releases) - [Commits](micnncim/action-label-syncer@v1.2.0...v1.3.0) --- updated-dependencies: - dependency-name: micnncim/action-label-syncer dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
…im/action-label-syncer-1.3.0 Bump micnncim/action-label-syncer from 1.2.0 to 1.3.0
…hub-api-1.131 Bump github-api from 1.125 to 1.131
Bumps commons-io from 2.10.0 to 2.11.0. --- updated-dependencies: - dependency-name: commons-io:commons-io dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [jib-maven-plugin](https://github.com/GoogleContainerTools/jib) from 3.1.1 to 3.1.4. - [Release notes](https://github.com/GoogleContainerTools/jib/releases) - [Commits](https://github.com/GoogleContainerTools/jib/commits) --- updated-dependencies: - dependency-name: com.google.cloud.tools:jib-maven-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [codingstyle-pom](https://github.com/uhafner/codingstyle-pom) from 2.4.0 to 2.11.0. - [Release notes](https://github.com/uhafner/codingstyle-pom/releases) - [Changelog](https://github.com/uhafner/codingstyle-pom/blob/main/CHANGELOG.md) - [Commits](uhafner/codingstyle-pom@v2.4.0...v2.11.0) --- updated-dependencies: - dependency-name: edu.hm.hafner:codingstyle-pom dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 2.3.5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v2.3.4...v2.3.5) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Component diagrams
…s/checkout-2.3.5 Bump actions/checkout from 2.3.4 to 2.3.5
…odingstyle-pom-2.11.0 Bump codingstyle-pom from 2.4.0 to 2.11.0
…d.tools-jib-maven-plugin-3.1.4 Bump jib-maven-plugin from 3.1.1 to 3.1.4
…ons-io-2.11.0 Bump commons-io from 2.10.0 to 2.11.0
Bumps [analysis-model](https://github.com/jenkinsci/analysis-model) from 10.2.5 to 10.5.2. - [Release notes](https://github.com/jenkinsci/analysis-model/releases) - [Changelog](https://github.com/jenkinsci/analysis-model/blob/master/CHANGELOG.md) - [Commits](jenkinsci/analysis-model@v10.2.5...v10.5.2) --- updated-dependencies: - dependency-name: edu.hm.hafner:analysis-model dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
…nalysis-model-10.5.2 Bump analysis-model from 10.2.5 to 10.5.2
Bumps [kentaro-m/auto-assign-action](https://github.com/kentaro-m/auto-assign-action) from 1.2.0 to 1.2.1. - [Release notes](https://github.com/kentaro-m/auto-assign-action/releases) - [Commits](kentaro-m/auto-assign-action@v1.2.0...v1.2.1) --- updated-dependencies: - dependency-name: kentaro-m/auto-assign-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.6 to 2.1.7. - [Release notes](https://github.com/actions/cache/releases) - [Commits](actions/cache@v2.1.6...v2.1.7) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [codingstyle-pom](https://github.com/uhafner/codingstyle-pom) from 2.11.0 to 2.16.0. - [Release notes](https://github.com/uhafner/codingstyle-pom/releases) - [Changelog](https://github.com/uhafner/codingstyle-pom/blob/main/CHANGELOG.md) - [Commits](uhafner/codingstyle-pom@v2.11.0...v2.16.0) --- updated-dependencies: - dependency-name: edu.hm.hafner:codingstyle-pom dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [depgraph-maven-plugin](https://github.com/ferstl/depgraph-maven-plugin) from 3.3.0 to 3.3.1. - [Release notes](https://github.com/ferstl/depgraph-maven-plugin/releases) - [Commits](ferstl/depgraph-maven-plugin@depgraph-maven-plugin-3.3.0...depgraph-maven-plugin-3.3.1) --- updated-dependencies: - dependency-name: com.github.ferstl:depgraph-maven-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [jib-maven-plugin](https://github.com/GoogleContainerTools/jib) from 3.1.4 to 3.2.0. - [Release notes](https://github.com/GoogleContainerTools/jib/releases) - [Commits](https://github.com/GoogleContainerTools/jib/commits) --- updated-dependencies: - dependency-name: com.google.cloud.tools:jib-maven-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5.15.0 to 5.18.1. - [Release notes](https://github.com/release-drafter/release-drafter/releases) - [Commits](release-drafter/release-drafter@v5.15.0...v5.18.1) --- updated-dependencies: - dependency-name: release-drafter/release-drafter dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3 to 4. - [Release notes](https://github.com/actions/setup-java/releases) - [Commits](actions/setup-java@v3...v4) --- updated-dependencies: - dependency-name: actions/setup-java dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
…s/setup-java-4 Bump actions/setup-java from 3 to 4
…odingstyle-pom-3.39.0 Bump edu.hm.hafner:codingstyle-pom from 3.37.0 to 3.39.0
…ons-io-2.15.1 Bump commons-io:commons-io from 2.15.0 to 2.15.1
|
||
import static org.assertj.core.api.Assertions.*; | ||
|
||
class AutoGradingActionTest extends ResourceTest { |
Check notice
Code scanning / CodeQL
Unused classes and interfaces Note test
* | ||
* @author Ullrich Hafner | ||
*/ | ||
class FileNameRenderer { |
Check notice
Code scanning / CodeQL
Unused classes and interfaces Note
|
||
private String readDefaultConfiguration() { | ||
try { | ||
var defaultConfig = getClass().getResource("/default-config.json"); |
Check warning
Code scanning / CodeQL
Unsafe use of getResource Warning
var prNumber = getEnv("PR_NUMBER"); | ||
if (!prNumber.isBlank()) { | ||
github.getRepository(repository) | ||
.getPullRequest(Integer.parseInt(prNumber)) |
Check notice
Code scanning / CodeQL
Missing catch of NumberFormatException Note
* | ||
* @author Ullrich Hafner | ||
*/ | ||
class ReportFinderTest { |
Check notice
Code scanning / CodeQL
Unused classes and interfaces Note test
🥫 Eat your own dogfood
The example pull request grades all commits in this repository and shows the results of the autograding action.