Skip to content

Commit

Permalink
Show token
Browse files Browse the repository at this point in the history
  • Loading branch information
AkaLrz committed Aug 9, 2024
1 parent b5ce449 commit 31c7f76
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <branch>
run: ./mvnw install -T1C -B -ntp -fae
14 changes: 8 additions & 6 deletions .github/workflows/jacoco.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
#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 }}

0 comments on commit 31c7f76

Please sign in to comment.