diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 51fe9c1d2..3b5b9eb5d 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -118,3 +118,13 @@ jobs: - name: Running ${{ matrix.testcase }} shell: bash run: docker compose -f tools/autograph-client/integration-tests.yml run ${{ matrix.testcase }} + + - name: Fetching autograph logs + shell: bash + if: ${{ always() }} + run: | + if echo "${{ matrix.testcase }}" | grep -q hsm; then + docker compose -f tools/autograph-client/integration-tests.yml logs app-hsm + else + docker compose -f tools/autograph-client/integration-tests.yml logs app + fi