Skip to content

Commit

Permalink
ci(gh-workflows): wait for grafana server before running e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jackw committed Mar 1, 2024
1 parent bd64c1b commit 69e0a93
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,14 @@ jobs:
if: steps.check-for-e2e.outputs.has-e2e == 'true'
run: docker-compose up -d

- name: Wait for grfana server
uses: nev7n/wait_for_response@v1
with:
url: 'http://localhost:3000/'
responseCode: 200
timeout: 60000
interval: 500

- name: Run e2e tests
if: steps.check-for-e2e.outputs.has-e2e == 'true'
run: npm run test:playwright
Expand Down

0 comments on commit 69e0a93

Please sign in to comment.