diff --git a/.github/workflows/local_unit_test.yml b/.github/workflows/local_unit_test.yml index c5c89587f..4ae207626 100644 --- a/.github/workflows/local_unit_test.yml +++ b/.github/workflows/local_unit_test.yml @@ -44,7 +44,7 @@ jobs: run: | # Current best possible branch coverage is all but 4, with associated issues for each missing case missed_branches=4 - coverage_nums=$(grep -A 3 "Overall coverage rate" lcov_out.txt | grep branches | grep -oP "[1-9]+[0-9]*") + coverage_nums=$(grep -A 3 "Overall coverage rate" lcov_out.txt | grep branches | grep -oP "[0-9]+[0-9]*") diff=$(echo $coverage_nums | awk '{ print $4 - $3 }') if [ $(($diff > $missed_branches)) == 1 ]