Skip to content

Commit

Permalink
ci(GitHub): upload only cleaned coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
leon0399 committed Jul 14, 2024
1 parent fb0ffc0 commit ec5c04a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,9 @@ jobs:
find ./build/lcov -name 'lcov.info.*' -exec echo -a {} \; | xargs lcov -o ./build/lcov/lcov.info
lcov --remove ./build/lcov/lcov.info '/usr/include/*' '*.platformio/*' '*/.pio/*' '*/tool-unity/*' '*/test/*' '*/MockArduino/*' '*/lib/frozen/*' -o ./build/lcov/lcov.info.cleaned
# delete all except the cleaned file
find ./build/lcov -type f -not -name 'lcov.info.cleaned' -delete
- name: Generate HTML report
run: genhtml -p $PWD -o ./build/coverage/ --demangle-cpp ./build/lcov/lcov.info.cleaned
Expand Down

0 comments on commit ec5c04a

Please sign in to comment.