From 31c7f76722cae57d3645aa06e115b54968df99e6 Mon Sep 17 00:00:00 2001 From: AkaLrz Date: Thu, 8 Aug 2024 21:01:43 -0700 Subject: [PATCH] Show token --- .github/workflows/ci.yml | 2 +- .github/workflows/jacoco.yml | 14 ++++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 13ba5257fcb68..398bdc23d9dba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -85,4 +85,4 @@ jobs: distribution: 'temurin' java-version: 8 - name: Run Tests with JDK 8 - run: ./mvnw install -T1C -B -ntp -faegit branch --delete \ No newline at end of file + run: ./mvnw install -T1C -B -ntp -fae \ No newline at end of file diff --git a/.github/workflows/jacoco.yml b/.github/workflows/jacoco.yml index 3f51e624803e5..0fd20131cd6dd 100644 --- a/.github/workflows/jacoco.yml +++ b/.github/workflows/jacoco.yml @@ -44,9 +44,11 @@ jobs: run: ./.github/workflows/resources/scripts/unit-test-coverage-merge/code-coverage-merge.sh - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v3 - if: github.repository == 'apache/shardingsphere' - with: - files: ./target/mergeReport/jacoco.xml - disable_search: true - token: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file + #Test if token is same with Nianjun + run: | + echo "Codecov Token: ${{ secrets.CODECOV_TOKEN }}" + npx codecov -f ./target/mergeReport/jacoco.xml -t ${{ secrets.CODECOV_TOKEN }} +# uses: codecov/codecov-action@v3 +# with: +# files: ./target/mergeReport/jacoco.xml +# token: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file