Skip to content

Commit

Permalink
Allow more time for application to start up + silenced curl progress …
Browse files Browse the repository at this point in the history
…reporting
  • Loading branch information
mluypaert committed Jan 26, 2024
1 parent af9a7ac commit 82b7ca3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/PR-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,17 +78,17 @@ jobs:
- name: Launch test instance of container (connecting to test env DB)
run: |
make run-docker PROJ_NAME=wormbase-names-test
sleep 60
sleep 120
- name: Test API accessability
id: test-api-accessability
continue-on-error: true
run: |
curl -I http://localhost:3000/api/auth/identity
curl --no-progress-meter -I http://localhost:3000/api/auth/identity
- name: Test UI accessability
id: test-ui-accessability
continue-on-error: true
run: |
curl -I http://localhost:3000/
curl --no-progress-meter -I http://localhost:3000/
- name: Report container logs if either accessibility test fails
if: ${{ steps.test-ui-accessability.outcome == 'failure' || steps.test-api-accessability.outcome == 'failure' }}
run: |
Expand Down

0 comments on commit 82b7ca3

Please sign in to comment.