From 3850ffde47fc6a38ee57408a288bf85224e46c90 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 16 May 2024 13:12:16 +0000 Subject: [PATCH 1/2] Bump codecov/codecov-action from 3 to 4 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v3...v4) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/test-go-task.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-go-task.yml b/.github/workflows/test-go-task.yml index 17ce103a06d..ff957a3b2f1 100644 --- a/.github/workflows/test-go-task.yml +++ b/.github/workflows/test-go-task.yml @@ -204,7 +204,7 @@ jobs: echo "CODECOV_TOKEN=$CODECOV_TOKEN" >> "$GITHUB_ENV" - name: Send unit tests coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: token: ${{ env.CODECOV_TOKEN }} files: ./coverage.txt From 88dfbee474753f62285ee9d3ed994c79dc1d437a Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Thu, 16 May 2024 16:19:48 +0200 Subject: [PATCH 2/2] Disable search in integration tests subfolders because the current version of the codecov uploader crash if a broken link is found: Traceback (most recent call last): File "codecov_cli/main.py", line 83, in File "codecov_cli/main.py", line 79, in run File "click/core.py", line 1157, in __call__ File "click/core.py", line 1078, in main File "click/core.py", line 1688, in invoke File "click/core.py", line 1434, in invoke File "click/core.py", line 783, in invoke File "click/decorators.py", line 33, in new_func File "codecov_cli/commands/upload.py", line 257, in do_upload File "codecov_cli/services/upload/__init__.py", line 78, in do_upload_logic File "codecov_cli/services/upload/upload_collector.py", line 174, in generate_upload_data File "codecov_cli/services/upload/upload_collector.py", line 100, in _produce_file_fixes File "codecov_cli/services/upload/upload_collector.py", line [114](https://github.com/arduino/arduino-cli/actions/runs/9112950400/job/25053833785?pr=2522#step:8:115), in _get_file_fixes FileNotFoundError: [Errno 2] No such file or directory: 'internal/integrationtest/compile_4/testdata/ValidSketchWithNonInoBrokenSketchFileSymlink/other_file.c' --- .codecov.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.codecov.yml b/.codecov.yml index 062ab589c79..a019d11ba22 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -1,6 +1,7 @@ ignore: - rpc/** - i18n/cmd/** + - internal/integrationtest/** coverage: status: @@ -8,4 +9,4 @@ coverage: default: target: 30% patch: off - changes: off + changes: false