Skip to content

Commit

Permalink
get response status
Browse files Browse the repository at this point in the history
  • Loading branch information
m-goggins committed Oct 30, 2024
1 parent 4b4790c commit d43aebb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@ jobs:
echo "Waiting for Query Connector to be ready before running Playwright..."
sleep 5
done
- name: Poll until HAPI server is ready
run: |
until [[ "$(curl -s -o /dev/null -w '%{http_code}' http://localhost:8080/fhir/Patient)" -eq 200 ]]; do
echo "Waiting for HAPI server to be ready before running Playwright..."
echo "Response status: $(curl -s -o /dev/null -w '%{http_code}' http://localhost:8080/fhir/Patient)"
sleep 5
done
- name: Poll until FHIR server has data
run: |
until curl -s http://localhost:8080/fhir/Patient | jq '.entry | length > 0' | grep -q 'true'; do
Expand Down

0 comments on commit d43aebb

Please sign in to comment.