Skip to content

Commit

Permalink
Merge pull request #903 from cloudflare/codecov
Browse files Browse the repository at this point in the history
Re-run codecov
  • Loading branch information
prymitive authored Mar 11, 2024
2 parents 1235df6 + 03468cf commit 43092d6
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,31 @@ jobs:
- name: Check for local changes
run: git diff --exit-code

- name: Report code coverage
# Codecov reporting is unreliable.
# Re-run report 3 times to have a better
# chance of success.
- name: Report code coverage (1)
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./.cover/coverage.out
fail_ci_if_error: true
handle_no_reports_found: true
continue-on-error: true

- name: Report code coverage (2)
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./.cover/coverage.out
fail_ci_if_error: true
handle_no_reports_found: true
continue-on-error: true

- name: Report code coverage (3)
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./.cover/coverage.out
fail_ci_if_error: true
handle_no_reports_found: true

0 comments on commit 43092d6

Please sign in to comment.