[skip ci] Update coverage.yml to work with lcov2.0

This commit is contained in:
ado
2024-02-21 19:41:06 +01:00
parent 5e32d722e8
commit b993eb8852
5 changed files with 16 additions and 1 deletions

View File

@@ -46,7 +46,10 @@ jobs:
- name: Install test coverage tools
run: |
apt update
apt install -y gcovr lcov
apt install -y gcovr
- name: Install lcov2.0
run: script/ci_install_lcov.sh
- name: Configure
run: cmake -S test -B build -D CMAKE_BUILD_TYPE=Debug -D CMAKE_CXX_FLAGS="-Wall -fprofile-arcs -ftest-coverage --coverage -fno-elide-constructors -fno-default-inline"