diff --git a/.github/workflows/test-go-task.yml b/.github/workflows/test-go-task.yml index afa47f680ad..3778aa23c1e 100644 --- a/.github/workflows/test-go-task.yml +++ b/.github/workflows/test-go-task.yml @@ -204,6 +204,13 @@ jobs: fi echo "CODECOV_TOKEN=$CODECOV_TOKEN" >> "$GITHUB_ENV" + # 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: https://github.com/codecov/codecov-action/issues/1890 + - name: Workaround for codecov uploader bug + run: | + rm internal/integrationtest/compile_4/testdata/ValidSketchWithNonInoBrokenSketchFileSymlink/other_file.c + touch internal/integrationtest/compile_4/testdata/ValidSketchWithNonInoBrokenSketchFileSymlink/other_file.c + - name: Send unit tests coverage to Codecov uses: codecov/codecov-action@v5 with: diff --git a/internal/integrationtest/core/core_test.go b/internal/integrationtest/core/core_test.go index a27b5f6d15a..8644070886e 100644 --- a/internal/integrationtest/core/core_test.go +++ b/internal/integrationtest/core/core_test.go @@ -828,7 +828,7 @@ func TestCoreListSortedResults(t *testing.T) { require.NoError(t, err) // install some core for testing - _, _, err = cli.Run("core", "install", "test:x86@2.0.0", "Retrokits-RK002:arm", "Package:x86", "--additional-urls="+url.String()) + _, _, err = cli.Run("core", "install", "test:x86@2.0.0", "arduino:samd", "Package:x86", "--additional-urls="+url.String()) require.NoError(t, err) // list all with additional url specified