Skip to content

Commit

Permalink
Improve logs of failed integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisburr committed Sep 27, 2023
1 parent 39e6f41 commit afbd9a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ jobs:
- name: Client tests
run: cd /tmp/DIRACRepo && ./integration_tests.py test-client || touch client-tests-failed
- name: diracx logs
if: ${{ failure() }}
run: docker logs diracx
- name: DIRAC logs
if: ${{ failure() }}
run: cd /tmp/DIRACRepo && ./integration_tests.py logs --no-follow --lines 1000
- name: Check test status
run: |
has_error=0
Expand Down

0 comments on commit afbd9a6

Please sign in to comment.