diff --git a/.github/test.sh b/.github/test.sh index a49bdfb3c8..1ed0687113 100755 --- a/.github/test.sh +++ b/.github/test.sh @@ -8,8 +8,10 @@ cd ivtest status=0 perl vvp_reg.pl || status=1 +tar -cjf vvp_reg_log.tar.bz2 log/*.log perl vpi_reg.pl || status=1 +tar -cjf vpi_reg_log.tar.bz2 log/*.log python3 vvp_reg.py || status=1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3c18acd290..52936ce192 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,7 +34,11 @@ jobs: - name: Test run: ./.github/test.sh - + - name: Archive test logs + uses: actions/upload-artifact@v3 + with: + name: test-logs-mac + path: ivtest/*reg_log.tar.bz2 lin: strategy: @@ -65,6 +69,12 @@ jobs: - name: Test run: ./.github/test.sh + - name: Archive test logs + uses: actions/upload-artifact@v3 + with: + name: test-logs-linux-${{ matrix.msystem }}-${{ matrix.arch }} + path: ivtest/*reg_log.tar.bz2 + - name: Documentation run: | cd Documentation @@ -118,6 +128,12 @@ jobs: run: | ./.github/test.sh + - name: Archive test logs + uses: actions/upload-artifact@v3 + with: + name: test-logs-${{ matrix.msystem }}-${{ matrix.arch }} + path: ivtest/*reg_log.tar.bz2 + - uses: actions/upload-artifact@v3 with: name: ${{ matrix.msystem }}-${{ matrix.arch }}