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 b14d034 commit f17c8fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ jobs:
run: docker compose up -d
- name: Check if Grafana is ready
run: |
while [$(curl -o /dev/null -w "%{response_code}" localhost:3000/api/health) -ne "200"]
STATUS=$(curl -o /dev/null -w "%{response_code}" localhost:3000/api/health)
while [STATUS -ne "200"]
do
sleep 1
STATUS=$(curl -o /dev/null -w "%{response_code}" localhost:3000/api/health)
done
- name: Run e2e tests with cypress
run: npm run e2e
Expand Down

0 comments on commit f17c8fd

Please sign in to comment.