Skip to content
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
9 changes: 5 additions & 4 deletions .github/workflows/build_dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ jobs:
fail_on_cache_miss: true
if: ${{ inputs.testing == 'True' || steps.restore-cache.outputs.cache-hit != 'true' }}


- name: Setup Conan
uses: eBay/sisl/.github/actions/setup_conan@master
with:
Expand Down Expand Up @@ -223,6 +222,7 @@ jobs:

- name: Code Coverage Run
run: |
python -m pip install gcovr
conan install \
-o sisl:malloc_impl=${{ inputs.malloc-impl }} \
-o iomgr:testing=off \
Expand All @@ -232,11 +232,12 @@ jobs:
--build missing \
.
conan build .
gcovr --cobertura ./coverage.xml
if: ${{ inputs.testing == 'True' && inputs.tooling == 'Coverage' }}

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
gcov: true
files: ./coverage.xml
disable_search: true
if: ${{ inputs.testing == 'True' && inputs.tooling == 'Coverage' }}
17 changes: 17 additions & 0 deletions gcovr.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
high-threshold = 80
medium-threshold = 65

merge-lines = yes
exclude-unreachable-branches = yes

exclude = .*build.*
exclude = .*flip.*
exclude = .*generate.*
exclude = .*test.*


exclude-lines-by-pattern = .*DEBUG.*
exclude-lines-by-pattern = .*DBG.*
exclude-lines-by-pattern = .*LOG.*

gcov-ignore-parse-errors = all
Loading