Use 4 spaces per tab in LCOV coverage report

This commit is contained in:
Rangi
2025-12-04 17:56:16 -05:00
parent 752e2b3620
commit 8d6c617875

View File

@@ -22,7 +22,7 @@ mkdir -p coverage
COVERAGE_INFO=coverage/coverage.info COVERAGE_INFO=coverage/coverage.info
lcov -c --no-external -d . -o "$COVERAGE_INFO" lcov -c --no-external -d . -o "$COVERAGE_INFO"
lcov -r "$COVERAGE_INFO" src/asm/parser.{hpp,cpp} src/link/script.{hpp,cpp} -o "$COVERAGE_INFO" lcov -r "$COVERAGE_INFO" src/asm/parser.{hpp,cpp} src/link/script.{hpp,cpp} -o "$COVERAGE_INFO"
genhtml --dark-mode -f -s -o coverage/ "$COVERAGE_INFO" genhtml --dark-mode --num-spaces 4 -f -s -o coverage/ "$COVERAGE_INFO"
# Check whether running from coverage.yml workflow # Check whether running from coverage.yml workflow
if [ "$1" != "ubuntu-ci" ]; then if [ "$1" != "ubuntu-ci" ]; then