Skip to content

Commit

Permalink
[ci] update code coverage (#861)
Browse files Browse the repository at this point in the history
update coverage
  • Loading branch information
poor-circle authored Dec 19, 2024
1 parent 89f23d4 commit b8e48b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/coverage/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ runs:
else
report=ylt-cov-report
fi
llvm-cov show $(find . -maxdepth 1 -type f -executable | awk '{print "-object " $0}' | xargs) -instr-profile=test_ylt.profdata -format=html -output-dir=$report -ignore-filename-regex='thirdparty|src|template_switch' -show-instantiations=false
llvm-cov show $(find . -maxdepth 1 -type f -executable | awk '{print "-object " $0}' | xargs) -instr-profile=test_ylt.profdata -format=html -output-dir=$report -ignore-filename-regex='thirdparty|src|template_switch|concurrentqueue|dragonbox_to_chars.hpp|dragonbox.hpp|expected.hpp|' -show-instantiations=false
echo "path=build/output/tests/$report" >> $GITHUB_OUTPUT
cov_data=$(grep -w '<pre>Totals</pre>' $report/index.html | awk -F 'Totals' '{print $NF}' | cut -d ')' -f 2 | awk -F '>' '{print $NF}' | awk -F '%' '{print $1}')
echo "coverage data: $cov_data"
Expand Down

0 comments on commit b8e48b6

Please sign in to comment.