Skip to content

Commit 7f344d9

Browse files
author
Christos Konstantinos Matzoros
committed
Removing invalid geninfo call
1 parent 5e686cd commit 7f344d9

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ jobs:
6969
- name: Run tests with coverage
7070
working-directory: ${{ github.workspace }}/build
7171
run: |
72+
# Run tests
7273
ctest --output-on-failure --output-junit test_results.xml
7374
7475
# Capture coverage ONLY from include/
@@ -77,11 +78,10 @@ jobs:
7778
--ignore-errors empty,mismatch \
7879
--include '*/OneStopParallel/include/*'
7980
80-
# Remove unused warnings: this is the KEY fix
81-
lcov --ignore-errors unused,empty,mismatch --remove coverage.info '*/tests/*' '*/apps/*' --output-file coverage.info
82-
83-
# Optional: silence header template warnings
84-
geninfo --rc geninfo_unexecuted_blocks=1 coverage.info
81+
# Remove unused warnings + ignore tests/apps
82+
lcov --remove coverage.info '*/tests/*' '*/apps/*' \
83+
--ignore-errors unused,empty,mismatch \
84+
--output-file coverage.info
8585
8686
# Generate HTML report
8787
genhtml coverage.info --output-directory coverage_html

0 commit comments

Comments
 (0)