Skip to content

Commit

Permalink
add step to test.yml worfklow to display logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ekraffmiller committed Oct 27, 2023
1 parent 35a7148 commit fe1c284
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ jobs:
run: ./run-env.sh "$E2E_DATAVERSE_IMAGE_TAG"

- name: Wait for containers to be ready
run: timeout 720s sh -c 'while ! docker logs dev_dataverse_bootstrap 2>&1 | grep -q "your instance has been configured"; do sleep 2; done'
run: timeout 360s sh -c 'while ! docker logs dev_dataverse_bootstrap 2>&1 | grep -q "your instance has been configured"; do sleep 2; done'

- name: Display Docker logs
run: |
docker logs dev_dataverse_bootstrap
- name: Run e2e tests
run: npm run test:e2e
Expand Down

0 comments on commit fe1c284

Please sign in to comment.