Skip to content

Commit 3f3df1a

Browse files
Remove Codecov upload job from build workflow
Removed Codecov upload job to streamline workflow.
1 parent cee36c5 commit 3f3df1a

1 file changed

Lines changed: 0 additions & 32 deletions

File tree

.github/workflows/build.yml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -318,35 +318,3 @@ jobs:
318318

319319
- name: Shutdown Docker containers
320320
run: docker compose -f ./docker/docker-compose-ci.yml down
321-
322-
# Codecov upload is a separate job in order to allow us to restart this separate from the entire build/test
323-
# job above. This is necessary because Codecov uploads seem to randomly fail at times.
324-
# See https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954
325-
codecov:
326-
# Must run after 'tests' job above
327-
needs: tests
328-
runs-on: ubuntu-latest
329-
steps:
330-
- name: Checkout
331-
uses: actions/checkout@v4
332-
333-
# Download artifacts from previous 'tests' job
334-
- name: Download coverage artifacts
335-
uses: actions/download-artifact@v4
336-
337-
# Now attempt upload to Codecov using its action.
338-
# NOTE: We use a retry action to retry the Codecov upload if it fails the first time.
339-
#
340-
# Retry action: https://github.com/marketplace/actions/retry-action
341-
# Codecov action: https://github.com/codecov/codecov-action
342-
- name: Upload coverage to Codecov.io
343-
uses: Wandalen/wretry.action@v1.3.0
344-
with:
345-
action: codecov/codecov-action@v4
346-
with: |
347-
fail_ci_if_error: true
348-
token: ${{ secrets.CODECOV_TOKEN }}
349-
# Try re-running action 5 times max
350-
attempt_limit: 5
351-
# Run again in 30 seconds
352-
attempt_delay: 30000

0 commit comments

Comments
 (0)