Skip to content

Commit

Permalink
Fetch autograph logs in Github actions integration tests (#938)
Browse files Browse the repository at this point in the history
  • Loading branch information
oskirby authored Aug 1, 2024
1 parent 5f97ba3 commit 8797a73
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8797a73

Please sign in to comment.