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 07776ef
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
- name: Capture output DMSS version
id: capture_dmss_version
run: |
docker-compose run --rm dmss cat src/version.txt > dmss_version.txt
docker-compose exec dmss cat src/version.txt > dmss_version.txt
dmss_version=$(tail -n 1 dmss_version.txt)
echo "dmss_version=$dmss_version" >> "$GITHUB_OUTPUT"
working-directory: example/
Expand Down Expand Up @@ -155,6 +155,10 @@ jobs:
path: e2e/test-results/
retention-days: 30

- name: Output dmss logs on failure
if: failure()
run: docker logs example_dmss_1

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

0 comments on commit 07776ef

Please sign in to comment.