From 8eb08a14b0f1ab573fc916bacf58f706b61ac622 Mon Sep 17 00:00:00 2001 From: "Zezheng.Li" Date: Thu, 19 Dec 2024 19:39:37 +0800 Subject: [PATCH] update coverage --- .github/actions/coverage/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/coverage/action.yml b/.github/actions/coverage/action.yml index 57ebc7daa..7984e365c 100644 --- a/.github/actions/coverage/action.yml +++ b/.github/actions/coverage/action.yml @@ -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|concurrentqueue|dragonbox_to_chars|dragonbox|expected|' -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|dragonbox|expected' -show-instantiations=false echo "path=build/output/tests/$report" >> $GITHUB_OUTPUT cov_data=$(grep -w '
Totals
' $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"