Skip to content

Commit 7caac3a

Browse files
committed
[pom] Rework argline so coveralls works again
1 parent ab4d1e2 commit 7caac3a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/coveralls.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ jobs:
3131
distribution: zulu
3232
- name: Report Coverage to Coveralls for Pull Requests
3333
if: github.event_name == 'pull_request'
34-
run: ./mvnw test jacoco:report coveralls:report -Dlicense.skip=true -DrepoToken=$GITHUB_TOKEN -DserviceName=github -DpullRequest=$PR_NUMBER
34+
run: ./mvnw test jacoco:report coveralls:report -q -Dlicense.skip=true -DrepoToken=$GITHUB_TOKEN -DserviceName=github -DpullRequest=$PR_NUMBER
3535
env:
3636
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3737
PR_NUMBER: ${{ github.event.number }}
3838
- name: Report Coverage to Coveralls for General Push
3939
if: github.event_name == 'push'
40-
run: ./mvnw test jacoco:report coveralls:report -Dlicense.skip=true -DrepoToken=$GITHUB_TOKEN -DserviceName=github
40+
run: ./mvnw test jacoco:report coveralls:report -q -Dlicense.skip=true -DrepoToken=$GITHUB_TOKEN -DserviceName=github
4141
env:
4242
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@
140140
<osgi.dynamicImport>*</osgi.dynamicImport>
141141
<spotbugs.onlyAnalyze>org.apache.ibatis.*</spotbugs.onlyAnalyze>
142142
<project.build.outputTimestamp>1653336221</project.build.outputTimestamp>
143+
<argLine>-Djdk.attach.allowAttachSelf -Xmx2048m</argLine>
143144
</properties>
144145

145146
<dependencies>
@@ -331,7 +332,6 @@
331332
<groupId>org.apache.maven.plugins</groupId>
332333
<artifactId>maven-surefire-plugin</artifactId>
333334
<configuration>
334-
<argLine>${argLine} -Xmx2048m</argLine>
335335
<systemProperties>
336336
<property>
337337
<name>derby.stream.error.file</name>

0 commit comments

Comments
 (0)