Skip to content

Commit 64a6afb

Browse files
committed
Workaround for codevcov uploader bug
There is a bug in the codecov uploader that makes it fail when there are broken symlinks in the repository. We must keep this workaround until the bug is fixed: codecov/codecov-action#1890
1 parent 0a483d9 commit 64a6afb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/test-go-task.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,13 @@ jobs:
204204
fi
205205
echo "CODECOV_TOKEN=$CODECOV_TOKEN" >> "$GITHUB_ENV"
206206
207+
# There is a bug in the codecov uploader that makes it fail when there are broken symlinks in the repository.
208+
# We must keep this workaround until the bug is fixed: https://github.com/codecov/codecov-action/issues/1890
209+
- name: Workaround for codecov uploader bug
210+
run: |
211+
rm internal/integrationtest/compile_4/testdata/ValidSketchWithNonInoBrokenSketchFileSymlink/other_file.c
212+
touch internal/integrationtest/compile_4/testdata/ValidSketchWithNonInoBrokenSketchFileSymlink/other_file.c
213+
207214
- name: Send unit tests coverage to Codecov
208215
uses: codecov/codecov-action@v5
209216
with:

0 commit comments

Comments
 (0)