From 560bcfdf9f0b5f026bcda1316cf8e78b608d865e Mon Sep 17 00:00:00 2001 From: AkaLrz Date: Thu, 8 Aug 2024 21:34:50 -0700 Subject: [PATCH] Tested as mentor requested --- .github/workflows/jacoco.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/jacoco.yml b/.github/workflows/jacoco.yml index 0fd20131cd6dd..fc8b9693c09c2 100644 --- a/.github/workflows/jacoco.yml +++ b/.github/workflows/jacoco.yml @@ -44,11 +44,14 @@ jobs: run: ./.github/workflows/resources/scripts/unit-test-coverage-merge/code-coverage-merge.sh - name: Upload coverage reports to Codecov - #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 + uses: codecov/codecov-action@v3 + with: + files: ./target/mergeReport/jacoco.xml + #change token on wrong + token: e66ee916-739d-4478-a899-4ee13b0c05ss + - name: Upload coverage reports to Codecov for test2 + uses: codecov/codecov-action@v3 + with: + files: ./target/mergeReport/jacoco.xml + #empty token + token: \ No newline at end of file