Skip to content

Commit

Permalink
fix: upload-coverage failed in master
Browse files Browse the repository at this point in the history
  • Loading branch information
Desiki-high committed Jun 4, 2024
1 parent 4a16402 commit 7d8b753
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,19 @@ jobs:
with:
name: contrib-test-coverage-artifact
- name: Upload coverage to Codecov
if: env.EVENT_TYPE == 'pull_request'
uses: codecov/codecov-action@v4
with:
files: ./codecov.json,./coverage.txt
verbose: true
fail_ci_if_error: true
- name: Upload coverage to Codecov
if: env.EVENT_TYPE == 'push' || env.EVENT_TYPE == 'schedule'
uses: codecov/codecov-action@v4
with:
files: ./codecov.json,./coverage.txt
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
fail_ci_if_error: true

nydus-cargo-deny:
Expand Down

0 comments on commit 7d8b753

Please sign in to comment.