Skip to content

Commit

Permalink
fix: Add health check before running e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Müller committed Apr 19, 2024
1 parent ff48fe9 commit 690499b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Run docker compose
run: docker compose up -d
- name: Check if Grafana is ready
run: status="0"; while [status -ne "200"]; do status=$(status=$(curl -o /dev/null -w "%{response_code}" localhost:3000/api/health); done
run: status="0"; while [status -ne "200"]; do status=$(curl -o /dev/null -w "%{response_code}" localhost:3000/api/health); done
- name: Run e2e tests with cypress
run: npm run e2e

0 comments on commit 690499b

Please sign in to comment.