CI: fix failing unit test reported as passed in summary, fixes #9170
This commit is contained in:
@@ -47,7 +47,7 @@ runs:
|
||||
shell: bash
|
||||
run: |
|
||||
result=$(sed -ne "/Global test environment tear-down/,/^$/{/^$/d;p}" ${{ inputs.testLogFile }})
|
||||
if [ $(echo $result | grep -F "[ FAILED ]") ]
|
||||
if grep -qF "[ FAILED ]" <<< $result
|
||||
then
|
||||
echo "<details><summary>:fire: GTest C++ unit test suite failed</summary>" >> ${{ inputs.reportFile }}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user