[geos-commits] [SCM] GEOS branch main updated. 9f7b1ccce2a892a59d0cdd6621710bc27ee49869
git at osgeo.org
git at osgeo.org
Thu Jan 23 09:35:02 PST 2025
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".
The branch, main has been updated
via 9f7b1ccce2a892a59d0cdd6621710bc27ee49869 (commit)
from 4310f3bf820d7ea57633f88c14e3453bd0936b40 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9f7b1ccce2a892a59d0cdd6621710bc27ee49869
Author: Daniel Baston <dbaston at gmail.com>
Date: Thu Jan 23 12:34:38 2025 -0500
CI: Restore codecov upload (#1231)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index f0b0aafb2..2ddfda4e9 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -219,7 +219,7 @@ jobs:
uname -a
sudo -E apt-get update
sudo -E apt-get autopurge -y needrestart
- sudo -E apt-get -yq --no-install-suggests --no-install-recommends install make doxygen python3-pip ccache valgrind ${{ matrix.ci.packages }}
+ sudo -E apt-get -yq --no-install-suggests --no-install-recommends install make doxygen lcov python3-pip ccache valgrind ${{ matrix.ci.packages }}
python3 -m pip install --disable-pip-version-check --user cmake==${{ matrix.ci.cmake }}
echo "$(python3 -m site --user-base)/bin" >> $GITHUB_PATH
@@ -284,12 +284,19 @@ jobs:
path: build/Testing/Temporary/MemoryChecker.**.log
retention-days: 1
- - name: Upload Coverage to Codecov
+ - name: Generate coverage report
if: matrix.ci.build_type == 'Coverage'
run: |
- curl -o codecov.sh https://codecov.io/bash
- bash codecov.sh
- shell: bash
+ cd build
+ lcov --ignore-errors=gcov,negative --capture --directory CMakeFiles --output-file coverage.info
+
+ - name: Upload Coverage to Codecov
+ if: ${{ matrix.ci.build_type == 'Coverage' && !cancelled() }}
+ uses: codecov/codecov-action at v5
+ with:
+ fail_ci_if_error: false
+ files: build/coverage.info
+ token: ${{ secrets.CODECOV_TOKEN }}
windows-mingw:
name: 'Windows (mingw-w64, x86_64, windows-2019)'
-----------------------------------------------------------------------
Summary of changes:
.github/workflows/ci.yml | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list