Skip to content

Commit

Permalink
fix(CI): upload dmss logs as artifact in integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
soofstad committed May 8, 2024
1 parent d5f65b9 commit a2da429
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,20 @@ jobs:
path: e2e/test-results/
retention-days: 30

- name: Find dmss logs
id: get-logs
if: failure()
run: |
LOGS_PATH=$(docker inspect --format='{{.LogPath}}' example_dmss_1)
mv $LOGS_PATH dmss-logs.json
- uses: actions/upload-artifact@v3
if: ${{ failure() && steps.get-logs.conclusion == 'success' }}
with:
name: dmss-logs
path: dmss-logs.json
retention-days: 30

- uses: actions/upload-artifact@v3
if: always()
with:
Expand Down

0 comments on commit a2da429

Please sign in to comment.