Skip to content
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

Integrate autograding runner from GitHub action as base class #287

Merged
merged 4 commits into from
Dec 9, 2023
Merged

Conversation

uhafner
Copy link
Owner

@uhafner uhafner commented Dec 9, 2023

It makes sense to move the functionality that is used by GitHub and GitLab is moved to a single place.

@uhafner uhafner added the enhancement Enhancement of existing functionality label Dec 9, 2023
Copy link

github-actions bot commented Dec 9, 2023

🎓 Quality Checks - 135 of 400

🚦 JUnit - 95 of 100

1 tests failed, 70 passed

🐾 JaCoCo - 0 of 100

0% Covered , 100% Missed

🦠 PIT - 0 of 100

0% Killed , 100% Survived

⚠️ Warnings - 40 of 100

60 warnings found (0 errors, 0 high, 60 normal, 0 low)

🚧 Error Messages

Autograding GitHub Action Errors:
No matching report files found when using pattern '**/target/site/jacoco/jacoco.xml'! Configuration error for 'Line Coverage'?
No matching report files found when using pattern '**/target/site/jacoco/jacoco.xml'! Configuration error for 'Branch Coverage'?
No matching report files found when using pattern '**/target/pit-reports/mutations.xml'! Configuration error for 'Mutation Coverage'?
No matching report files found when using pattern '**/target/checkstyle-result.xml'! Configuration error for 'CheckStyle'?
No matching report files found when using pattern '**/target/pmd.xml'! Configuration error for 'PMD'?
No matching report files found when using pattern '**/target/spotbugsXml.xml'! Configuration error for 'SpotBugs'?

More details are available in the GitHub Checks Result.

}

private String readDefaultConfiguration() {
try (var defaultConfig = getClass().getResourceAsStream("/default-config.json")) {

Check warning

Code scanning / CodeQL

Unsafe use of getResource Warning

The idiom getClass().getResource() is unsafe for classes that may be extended.
Copy link

github-actions bot commented Dec 9, 2023

🎓 Quality Checks - 274 of 400

🚦 JUnit - 100 of 100

71 tests passed

🐾 JaCoCo - 82 of 100

82% Covered , 18% Missed

🦠 PIT - 80 of 100

80% Killed , 20% Survived

⚠️ Warnings - 12 of 100

88 warnings found (0 errors, 0 high, 77 normal, 11 low)

More details are available in the GitHub Checks Result.

Copy link

github-actions bot commented Dec 9, 2023

🎓 Quality Checks - 275 of 400

🚦 JUnit - 100 of 100

71 tests passed

🐾 JaCoCo - 82 of 100

82% Covered , 18% Missed

🦠 PIT - 80 of 100

80% Killed , 20% Survived

⚠️ Warnings - 13 of 100

87 warnings found (0 errors, 0 high, 76 normal, 11 low)

More details are available in the GitHub Checks Result.

Copy link

github-actions bot commented Dec 9, 2023

🎓 Quality Checks - 280 of 400

🚦 JUnit - 100 of 100

71 tests passed

🐾 JaCoCo - 82 of 100

82% Covered , 18% Missed

🦠 PIT - 80 of 100

80% Killed , 20% Survived

⚠️ Warnings - 18 of 100

82 warnings found (0 errors, 0 high, 73 normal, 9 low)

More details are available in the GitHub Checks Result.

@uhafner uhafner merged commit fd5878a into main Dec 9, 2023
13 checks passed
@uhafner uhafner deleted the action branch December 9, 2023 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant