GitHub: Add Failed Test Logs sections

This commit is contained in:
Nicolas Williams
2022-01-15 23:01:30 -06:00
parent 19eae8b4a9
commit 440ea95b56
4 changed files with 16 additions and 0 deletions
+4
View File
@@ -62,6 +62,10 @@ jobs:
run: |
find build -depth -cpio -name \*.log | sed -e 's/trs$/log/' | tar -czf $HOME/logs-linux-valgrind.tgz --verbatim-files-from --files-from -
find build -name \*.trs|xargs grep -lw FAIL | sed -e 's/trs$/log/' | xargs cat
- name: Failed Test logs
if: ${{ failure() }}
run: |
find build -name \*.trs|xargs grep -lw FAIL | sed -e 's/trs$/log/' | xargs cat
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with: