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 11910fa
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,19 @@ jobs:
path: e2e/test-results/
retention-days: 30

- name: Create dmss log file
id: get-logs
if: failure()
run: docker logs example_dmss_1 &> dmss-logs.json

- uses: actions/upload-artifact@v3
if: ${{ failure() && steps.get-logs.conclusion == 'success' }}
needs: get-logs
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 11910fa

Please sign in to comment.