Skip to content

Commit 543f93d

Browse files
authored
removed Codecov check
1 parent f161a36 commit 543f93d

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -80,36 +80,3 @@ jobs:
8080
name: ${{ matrix.type }} coverage report
8181
path: 'dspace/target/site/jacoco-aggregate/jacoco.xml'
8282
retention-days: 14
83-
84-
# Codecov upload is a separate job in order to allow us to restart this separate from the entire build/test
85-
# job above. This is necessary because Codecov uploads seem to randomly fail at times.
86-
# See https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954
87-
codecov:
88-
# Must run after 'tests' job above
89-
needs: tests
90-
runs-on: ubuntu-latest
91-
steps:
92-
- name: Checkout
93-
uses: actions/checkout@v4
94-
95-
# Download artifacts from previous 'tests' job
96-
- name: Download coverage artifacts
97-
uses: actions/download-artifact@v4
98-
99-
# Now attempt upload to Codecov using its action.
100-
# NOTE: We use a retry action to retry the Codecov upload if it fails the first time.
101-
#
102-
# Retry action: https://github.com/marketplace/actions/retry-action
103-
# Codecov action: https://github.com/codecov/codecov-action
104-
- name: Upload coverage to Codecov.io
105-
uses: Wandalen/wretry.action@v1.3.0
106-
with:
107-
action: codecov/codecov-action@v4
108-
# Ensure codecov-action throws an error when it fails to upload
109-
with: |
110-
fail_ci_if_error: true
111-
token: ${{ secrets.CODECOV_TOKEN }}
112-
# Try re-running action 5 times max
113-
attempt_limit: 5
114-
# Run again in 30 seconds
115-
attempt_delay: 30000

0 commit comments

Comments
 (0)