Skip the jacoco plugin by default

pull/861/head
chen.ma 2 years ago
parent 6b7c8fd6c3
commit 24c63db436

@ -64,7 +64,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Build with Maven
run: echo y | mvn clean install -Dskip.gpg=true -Dspotless.apply.skip=true -Dmaven.javadoc.skip=true -Djacoco.skip=true
run: echo y | mvn clean install -Dskip.gpg=true -Dspotless.apply.skip=true -Dmaven.javadoc.skip=true
test-coverage:
if: github.repository == 'opengoofy/hippo4j'
@ -84,6 +84,6 @@ jobs:
distribution: 'temurin'
java-version: 8
- name: Test with Maven
run: echo y | mvn -T1C clean install -Dskip.gpg=true -Djacoco.skip=false
run: echo y | mvn -T1C clean install -Dskip.gpg=true -Dspotless.apply.skip=true -Dskip.jacoco.plugin=false
- name: Upload to Codecov
run: bash <(curl -s https://codecov.io/bash)
run: bash <(curl -s https://codecov.io/bash)

@ -80,6 +80,7 @@
<skip.maven.gpg.plugin>true</skip.maven.gpg.plugin>
<skip.spotless.apply>false</skip.spotless.apply>
<skip.checkstyle.check>true</skip.checkstyle.check>
<skip.jacoco.plugin>true</skip.jacoco.plugin>
<maven.javadoc.failOnError>false</maven.javadoc.failOnError>
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
<jacoco-maven-plugin.version>0.8.8</jacoco-maven-plugin.version>
@ -339,6 +340,9 @@
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-maven-plugin.version}</version>
<configuration>
<skip>${skip.jacoco.plugin}</skip>
</configuration>
<executions>
<execution>
<goals>

Loading…
Cancel
Save