diff --git a/.github/test.sh b/.github/test.sh index 362020f3d..219bed58d 100755 --- a/.github/test.sh +++ b/.github/test.sh @@ -8,6 +8,7 @@ cd ivtest status=0 perl vvp_reg.pl || status=1 +mv log vvp_log if [ "x$1" = "xno-pli1" ] ; then perl vpi_reg.pl || status=1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5197876b9..f078e7823 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,7 +35,12 @@ jobs: - name: Test run: ./.github/test.sh - + - name: Archive test logs + if: always() + uses: actions/upload-artifact@v4 + with: + name: test-logs-macOS + path: ivtest/*log/* lin: strategy: @@ -66,6 +71,13 @@ jobs: - name: Test run: ./.github/test.sh + - name: Archive test logs + if: always() + uses: actions/upload-artifact@v4 + with: + name: test-logs-ubuntu-${{ matrix.os }} + path: ivtest/*log/* + - name: Documentation run: | cd Documentation @@ -126,6 +138,13 @@ jobs: ./.github/test.sh fi + - name: Archive test logs + if: always() + uses: actions/upload-artifact@v4 + with: + name: test-logs-${{ matrix.msystem }}-${{ matrix.arch }} + path: ivtest/*log/* + - uses: actions/upload-artifact@v4 with: name: ${{ matrix.msystem }}