Skip to content

Commit

Permalink
[chore] try to fix coverage step (#10085)
Browse files Browse the repository at this point in the history
It's unclear why the retry action is failing to pass in the secret,
trying to standard codecov action with a token as per codecov
documentation.

---------

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
  • Loading branch information
codeboten committed May 6, 2024
1 parent 8efff48 commit 88046dd
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,16 +219,9 @@ jobs:
- name: Run Unit Tests With Coverage
run: make gotest-with-cover
- name: Upload coverage report
uses: Wandalen/wretry.action@0dd1d5d77d019a6f85beb53d29e2ea2c7294d4f2 # v3.4.0
with:
action: codecov/codecov-action@v4
with: |
file: ./coverage.txt
fail_ci_if_error: true
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}
attempt_limit: 10
attempt_delay: 15000
uses: codecov/codecov-action@5ecb98a3c6b747ed38dc09f787459979aebb39be # 4.3.1
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

cross-build-collector:
needs: [setup-environment]
Expand Down

0 comments on commit 88046dd

Please sign in to comment.