Skip to content

Commit

Permalink
Merge pull request kubewharf#330 from qclc/fix-codecov
Browse files Browse the repository at this point in the history
fix: codecov
  • Loading branch information
mrlihanbo authored Jun 17, 2024
2 parents c8f179f + 1f0e7ff commit 5d195fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,12 @@ jobs:

- name: Upload coverage reports to Codecov
if: ${{ github.repository == 'kubewharf/kubeadmiral' && matrix.go-version == '1.19' }}
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.out
flags: unittests
# https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954
fail_ci_if_error: true
verbose: true

Expand Down

0 comments on commit 5d195fb

Please sign in to comment.