CI: Always try to gather test results
Resulting test logs should be always attached to the task, regardless of whether the test suite ran successfully or not.master
parent
ef74ee1b76
commit
789bd05c35
|
@ -14,8 +14,13 @@ steps:
|
|||
- bash: |
|
||||
meson test --print-errorlogs \
|
||||
--wrap='valgrind --leak-check=full --track-origins=yes --error-exitcode=99'
|
||||
displayName: 'Tests (Meson)'
|
||||
workingDirectory: ${{ parameters.workdir }}
|
||||
- bash: |
|
||||
shopt -s nullglob
|
||||
for file in "$(pwd)"/meson-logs/* ; do
|
||||
echo "##vso[task.uploadfile]${file}"
|
||||
done
|
||||
displayName: 'Tests (Meson)'
|
||||
displayName: 'Save Results (Meson)'
|
||||
workingDirectory: ${{ parameters.workdir }}
|
||||
condition: always()
|
||||
|
|
Loading…
Reference in New Issue