Skip to content

Commit

Permalink
Merge pull request #2103 from MarcMil/buildfix
Browse files Browse the repository at this point in the history
Fix workflow
  • Loading branch information
StevenArzt authored Sep 20, 2024
2 parents 2dc4ad6 + 9786a19 commit 1284b41
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
- name: Stylecheck
if: always()
run: |
mvn -B clean checkstyle:check -Dcheckstyle.failOnViolation=true
mvn -B --no-transfer-progress clean checkstyle:check -Dcheckstyle.failOnViolation=true
- name: Licensecheck
if: always()
run: |
mvn -B clean license:check-file-header -Dlicence-check.failOnMissingHeader=true
mvn -B --no-transfer-progress clean license:check-file-header -Dlicence-check.failOnMissingHeader=true
BuildAndTest:
name: Build and Test with java ${{ matrix.java_version }}
Expand All @@ -42,7 +42,7 @@ jobs:
java-version: ${{ matrix.java_version }}
- name: Build and test Java ${{ matrix.java_version }}
run: |
mvn -B clean test -PJava${{ matrix.java_version }}
mvn -B --no-transfer-progress clean test -PJava${{ matrix.java_version }}
DeployArtifacts:
Expand Down
8 changes: 8 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,14 @@
<reuseForks>false</reuseForks>
<forkCount>1</forkCount>
<excludedGroups>${testcase.groups.excluded}</excludedGroups>
<argLine>
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED
--add-opens=java.base/java.util.regex=ALL-UNNAMED
--add-opens=java.base/java.util.stream=ALL-UNNAMED
--add-opens=java.base/java.io=ALL-UNNAMED
--add-opens=java.base/java.net=ALL-UNNAMED
</argLine>
</configuration>
<executions>
<execution>
Expand Down

0 comments on commit 1284b41

Please sign in to comment.