From 473f389a5d1cc1248c8014c58f11f3a5d372a50c Mon Sep 17 00:00:00 2001 From: luyanbo Date: Wed, 28 Feb 2024 01:05:30 +0800 Subject: [PATCH] configure codecov --- .codecov.yml | 4 +--- .github/workflows/ci.yml | 6 ++++-- pom.xml | 8 +------- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index d404691b4d..11f01b8825 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -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/*" \ No newline at end of file + - "sentinel-core/src/main/java/com/alibaba/csp/sentinel/eagleeye/*" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c2758c8de..84d561fb8f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }} diff --git a/pom.xml b/pom.xml index 7cc01ca77f..fb27e5e33e 100755 --- a/pom.xml +++ b/pom.xml @@ -62,7 +62,7 @@ 3.0.1 2.8.2 1.6 - 0.8.3 + 0.8.11 3.3.0 3.8 @@ -302,12 +302,6 @@ org.apache.maven.plugins maven-surefire-plugin ${maven.surefire.version} - - - @{argLine} -Xms1024m -Xmx2048m - -Dfile.encoding=UTF-8 - false - org.jacoco