GitHub: Add Failed Test Logs sections
This commit is contained in:
4
.github/workflows/linux.yml
vendored
4
.github/workflows/linux.yml
vendored
@@ -114,6 +114,10 @@ jobs:
|
||||
run: |
|
||||
find build -depth -cpio -name \*.trs | xargs grep -lw FAIL | sed -e 's/trs$/log/' | tar -czf $HOME/logs-linux-${{ matrix.compiler }}.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: Make Dist
|
||||
run: |
|
||||
cd build
|
||||
|
4
.github/workflows/osx.yml
vendored
4
.github/workflows/osx.yml
vendored
@@ -98,6 +98,10 @@ jobs:
|
||||
run: |
|
||||
find build -depth -cpio -name \*.trs|xargs grep -lw FAIL|sed -e 's/trs$/log/' | cpio -o > $HOME/logs-osx.cpio
|
||||
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 Install Tarball
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
4
.github/workflows/scanbuild.yml
vendored
4
.github/workflows/scanbuild.yml
vendored
@@ -56,6 +56,10 @@ jobs:
|
||||
cd build
|
||||
ulimit -c unlimited
|
||||
scan-build --keep-going make check
|
||||
- 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:
|
||||
|
4
.github/workflows/valgrind.yml
vendored
4
.github/workflows/valgrind.yml
vendored
@@ -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:
|
||||
|
Reference in New Issue
Block a user