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: |
|
- bash: |
|
||||||
meson test --print-errorlogs \
|
meson test --print-errorlogs \
|
||||||
--wrap='valgrind --leak-check=full --track-origins=yes --error-exitcode=99'
|
--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
|
for file in "$(pwd)"/meson-logs/* ; do
|
||||||
echo "##vso[task.uploadfile]${file}"
|
echo "##vso[task.uploadfile]${file}"
|
||||||
done
|
done
|
||||||
displayName: 'Tests (Meson)'
|
displayName: 'Save Results (Meson)'
|
||||||
workingDirectory: ${{ parameters.workdir }}
|
workingDirectory: ${{ parameters.workdir }}
|
||||||
|
condition: always()
|
||||||
|
|
Loading…
Reference in New Issue