Skip to content

Commit

Permalink
Restores sonarcloud code coverage metrics (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
damianszczepanik authored Apr 10, 2024
1 parent fb2c026 commit f0d8b46
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod

- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
java-version: 17
distribution: adopt
Expand Down
4 changes: 3 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,10 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.5</version>
<configuration>
<!-- Allow JUnit to access the test classes -->
<!-- Allow JUnit to access the test classes
add argLine so target/jacoco.exec is generated properly -->
<argLine>
${argLine}
--add-opens java.base/java.lang=ALL-UNNAMED
</argLine>
<systemPropertyVariables>
Expand Down

0 comments on commit f0d8b46

Please sign in to comment.