configure codecov (#3349)

This commit is contained in:
Robert Lu 2024-02-28 06:35:30 -05:00 committed by GitHub
parent 41569f9a41
commit 3b9be97e75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 12 deletions

View File

@ -3,6 +3,4 @@ ignore:
- "sentinel-dashboard/.*"
- "sentinel-benchmark/.*"
- "sentinel-transport/.*"
- "sentinel-core/src/main/java/com/alibaba/csp/sentinel/slots/statistic/base/LongAdder.java"
- "sentinel-core/src/main/java/com/alibaba/csp/sentinel/slots/statistic/base/Striped64.java"
- "sentinel-core/src/main/java/com/alibaba/csp/sentinel/eagleeye/*"
- "sentinel-core/src/main/java/com/alibaba/csp/sentinel/eagleeye/*"

View File

@ -39,5 +39,7 @@ jobs:
- name: Build with Maven
run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -DminimumPriority=1
- name: Run Codecov
run: bash <(curl -s https://codecov.io/bash)
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}

View File

@ -62,7 +62,7 @@
<maven.javadoc.version>3.0.1</maven.javadoc.version>
<maven.deploy.version>2.8.2</maven.deploy.version>
<maven.gpg.version>1.6</maven.gpg.version>
<maven.jacoco.version>0.8.3</maven.jacoco.version>
<maven.jacoco.version>0.8.11</maven.jacoco.version>
<maven.jar.version>3.3.0</maven.jar.version>
<maven.pmd.version>3.8</maven.pmd.version>
</properties>
@ -302,12 +302,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.version}</version>
<configuration>
<!-- CircleCI build workaround -->
<argLine>@{argLine} -Xms1024m -Xmx2048m</argLine>
<argLine>-Dfile.encoding=UTF-8</argLine>
<useSystemClassLoader>false</useSystemClassLoader>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>