Skip to content

Commit 0aefd0c

Browse files
committed
build: add missing quote
1 parent 9768c66 commit 0aefd0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/run_tests_coverage.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ jobs:
254254
files=$(find ./artifacts -name 'index.html')
255255
for file in $files; do
256256
file=${file//artifacts/www-test-code-coverage}
257-
coverage=$(echo -n '['; grep -oP "(?<=class='fraction'>)[0-9]+/[0-9]+" $file | awk -F/ { if ($2 != 0) print $1 "," $2 "," ($1/$2)*100; else print $1 "," $2 ",100" }' | tr '\n' ',' | sed 's/,$//'; echo -n ",\"$commit_sha\",\"$commit_timestamp\"]")
257+
coverage=$(echo -n '['; grep -oP "(?<=class='fraction'>)[0-9]+/[0-9]+" $file | awk -F/ '{ if ($2 != 0) print $1 "," $2 "," ($1/$2)*100; else print $1 "," $2 ",100" }' | tr '\n' ',' | sed 's/,$//'; echo -n ",\"$commit_sha\",\"$commit_timestamp\"]")
258258
echo $coverage >> $(dirname $file)/coverage.ndjson
259259
done
260260

0 commit comments

Comments
 (0)