Skip to content

Commit f750364

Browse files
Capture number of failed tests in extract
1 parent 216fafc commit f750364

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/playwright.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
output=$(cat output.txt)
4141
4242
if [ -z "$extracted" ]; then
43-
extracted=$(perl -0777 -ne 'print $1 if /failed(.*?)passed/s' output.txt)
43+
extracted=$(perl -0777 -ne 'print $1 if /(\b\d{2,3}\b.*?failed.*?passed)/s' output.txt)
4444
fi
4545
4646
echo "Test results: '$extracted'"

0 commit comments

Comments
 (0)