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/4] 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 9c90ab481955547713c7585d013786357ab4174a 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:22:17 +0000 Subject: [PATCH 2/4] ci(macOS): Use pypi for codecov cli test results upload --- .github/workflows/macos.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 9dd0d25c340..e8eb677490c 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -138,6 +138,7 @@ jobs: flags: macos-pytest-python token: ${{ secrets.CODECOV_TOKEN }} report_type: test_results + use_pypi: true - name: Cache GRASS Sample Dataset id: cached-data From f2043bbad9c936c30f1ade00389e7eca6bbf3683 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 3/4] ci(macOS): Skip validation for codecov cli test results upload as unavailable in the current state of the runner --- .github/workflows/macos.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index e8eb677490c..e8f2cbc70d4 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -139,6 +139,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} report_type: test_results use_pypi: true + skip_validation: true - name: Cache GRASS Sample Dataset id: cached-data From 92c428b836e47db41632f91b7f075f917a169904 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:46:23 +0000 Subject: [PATCH 4/4] ci(macOS): Remove use_pypi for codecov cli test results upload --- .github/workflows/macos.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index e8f2cbc70d4..61a70a06c93 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -138,7 +138,6 @@ jobs: flags: macos-pytest-python token: ${{ secrets.CODECOV_TOKEN }} report_type: test_results - use_pypi: true skip_validation: true - name: Cache GRASS Sample Dataset