Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct coverage errors. #337

Merged
merged 1 commit into from
Jan 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions generate4.xml
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@

<job build="autotools"
system="linux" image="ubuntu-24.04"
compiler="gcc" version="12"
compiler="gcc"
assert="ndebug" link="static" optimization="size"
coverage="true" detectcpuflags="true">
<axis name="llvm" value="" />
Expand Down Expand Up @@ -552,7 +552,7 @@

<job build="autotools"
system="linux" image="ubuntu-24.04"
compiler="gcc" version="12"
compiler="gcc"
assert="ndebug" link="static" optimization="size"
coverage="true" detectcpuflags="true">
<axis name="llvm" value="" />
Expand Down Expand Up @@ -768,7 +768,7 @@

<job build="autotools"
system="linux" image="ubuntu-24.04"
compiler="gcc" version="12"
compiler="gcc"
assert="ndebug" link="static" optimization="size"
detectcpuflags="true">
<!-- coverage="true" -->
Expand Down Expand Up @@ -1359,7 +1359,7 @@

<job build="autotools"
system="linux" image="ubuntu-24.04"
compiler="gcc" version="12"
compiler="gcc"
assert="ndebug" link="static" optimization="size" assert="ndebug"
coverage="true" detectcpuflags="true">
<axis name="llvm" value="" />
Expand Down Expand Up @@ -1584,7 +1584,7 @@

<job build="autotools"
system="linux" image="ubuntu-24.04"
compiler="gcc" version="12"
compiler="gcc"
assert="ndebug" link="static" optimization="size"
coverage="true" detectcpuflags="true">
<axis name="llvm" value="" />
Expand Down
6 changes: 3 additions & 3 deletions templates/gsl.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -806,9 +806,9 @@ endfunction # get_sln_tests
- name: Coveralls Calculation
if: ${{ matrix.coverage == 'cov' }}
run: |
lcov --directory . --capture --ignore-errors version --output-file coverage.info
lcov --remove coverage.info $(my.exclusions) --output-file --ignore-errors version coverage.info
lcov --list --ignore-errors version coverage.info
lcov --ignore-errors version,gcov,mismatch --directory . --capture --output-file coverage.info
lcov --ignore-errors unused --remove coverage.info $(my.exclusions) --output-file coverage.info
lcov --list coverage.info

- name: Coveralls.io Upload
if: ${{ matrix.coverage == 'cov' }}
Expand Down