Skip to content

Commit

Permalink
Update e2e.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-mu authored Apr 19, 2024
1 parent b3cb163 commit b053a05
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,8 @@ jobs:
run: docker compose up -d
- name: Check if Grafana is ready
run: |
STATUS=$(curl --insecure -s -o /dev/null -w "%{response_code}" http://localhost:3000/api/health)
echo $STATUS
while [ "$STATUS" != "200" ]; do
while [[ $(curl --insecure -s -o /dev/null -w "%{response_code}" http://localhost:3000/api/health) != "200" ]]; do
sleep 1
STATUS=$(curl --insecure -s -o /dev/null -w "%{response_code}" http://localhost:3000/api/health)
done
- name: Run e2e tests with cypress
run: npm run e2e
Expand Down

0 comments on commit b053a05

Please sign in to comment.