-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
5 additions
and
2 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 |
---|---|---|
|
@@ -72,6 +72,7 @@ jobs: | |
{ | ||
"id": "spotbugs", | ||
"name": "SpotBugs", | ||
"sourcePath": "src/main/java", | ||
"pattern": "**/target/spotbugsXml.xml" | ||
} | ||
], | ||
|
@@ -88,12 +89,14 @@ jobs: | |
"id": "jacoco", | ||
"name": "Line Coverage", | ||
"metric": "line", | ||
"sourcePath": "src/main/java", | ||
"pattern": "**/target/site/jacoco/jacoco.xml" | ||
}, | ||
{ | ||
"id": "jacoco", | ||
"name": "Branch Coverage", | ||
"metric": "branch", | ||
"sourcePath": "src/main/java", | ||
"pattern": "**/target/site/jacoco/jacoco.xml" | ||
} | ||
], | ||
|
@@ -135,7 +138,7 @@ jobs: | |
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git add badges/*.svg | ||
git commit -m "Update badges with results from latest autograding" | ||
git commit -m "Update badges with results from latest autograding" || true | ||
- name: Push updated badges to GitHub repository | ||
uses: ad-m/github-push-action@master | ||
if: ${{ success() }} | ||
|
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