From ce85f168b26fc18730a769ea8250f03983ecc609 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Mon, 13 Jul 2026 13:29:29 +0000 Subject: [PATCH 1/2] CI: Change codecov test result upload action on macOS & windows The PR #7607 missed to update the action in the macOS and OSGeo4W workflow. This PR makes the change in remaining workflows --- .github/workflows/macos.yml | 3 ++- .github/workflows/osgeo4w.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 64753c2cf38..f6946066cc8 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -129,11 +129,12 @@ jobs: - name: Upload test results to Codecov if: ${{ !cancelled() }} - uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1 + uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 with: exclude: gui flags: macos-pytest-python token: ${{ secrets.CODECOV_TOKEN }} + report_type: test_results - name: Cache GRASS Sample Dataset id: cached-data diff --git a/.github/workflows/osgeo4w.yml b/.github/workflows/osgeo4w.yml index eaae6a9a727..15f6e2d3aa5 100644 --- a/.github/workflows/osgeo4w.yml +++ b/.github/workflows/osgeo4w.yml @@ -156,11 +156,12 @@ jobs: - name: Upload test results to Codecov if: ${{ !cancelled() }} - uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1 + uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 with: exclude: gui flags: ${{ matrix.os }}-pytest-python token: ${{ secrets.CODECOV_TOKEN }} + report_type: test_results - name: Run tests run: .github/workflows/test_thorough.bat '%O4WROOT%\opt\grass\grass86.bat' '%O4WROOT%\bin\python3' From 819606cb7482c6405d4d436b0ab14b56c8f799a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Wed, 15 Jul 2026 14:43:13 +0000 Subject: [PATCH 2/2] ci(macOS): Skip validation for codecov cli test results upload as unavailable in the current state of the runner; We uninstall homebrew in the workflow --- .github/workflows/macos.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index f6946066cc8..e210c5aa1de 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -135,6 +135,7 @@ jobs: flags: macos-pytest-python token: ${{ secrets.CODECOV_TOKEN }} report_type: test_results + skip_validation: true - name: Cache GRASS Sample Dataset id: cached-data