Skip to content

Commit

Permalink
Adding sleep back for WebAPI test.
Browse files Browse the repository at this point in the history
Fix to atlas curl url.
  • Loading branch information
alondhe committed Sep 8, 2023
1 parent d74e40b commit 5efce85
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: Broadsea Default Profile (Linux and Mac)
on: push
jobs:
default:
env:
ENV_FILE: ./.env
LOCALHOST_URL: http://127.0.0.1
strategy:
matrix:
os:
Expand All @@ -30,14 +27,16 @@ jobs:
if: runner.os == 'macOS'
run: brew install libpq
- name: Test atlasdb
run: PGPASSWORD=$(cat ./secrets/webapi/WEBAPI_DATASOURCE_PASSWORD) psql -h 127.0.0.1 -p 5432 -U postgres -c "select * from webapi.source limit 1"
run: PGPASSWORD=$(cat ./secrets/webapi/WEBAPI_DATASOURCE_PASSWORD) psql -h 127.0.0.1 -p 5432 -U postgres -c "select source_name from webapi.source limit 1"
- name: Test traefik container
run: docker logs traefik
- name: Test content container
run: curl -s --retry 10 --retry-connrefused http://127.0.0.1
- name: Test HADES
run: curl -s --retry 10 --retry-connrefused http://127.0.0.1/hades/auth-sign-in
- name: Test Atlas
run: curl -s --retry 10 --retry-connrefused http://127.0.0.1/atlas
run: curl -s --retry 10 --retry-connrefused http://127.0.0.1/atlas/#/home
- name: Test WebAPI info endpoint
run: curl -s --retry 10 --retry-connrefused http://127.0.0.1/WebAPI/info
run: |
sleep 30
curl -s --retry 10 --retry-connrefused http://127.0.0.1/WebAPI/info

0 comments on commit 5efce85

Please sign in to comment.