Skip to content

Commit 8a91c5c

Browse files
committed
WIP
1 parent ff5ac8d commit 8a91c5c

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

.github/workflows/e2e_tests.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
e2e-tests:
1616
name: e2e tests
1717
runs-on: ubuntu-latest
18-
timeout-minutes: 15
18+
timeout-minutes: 5
1919

2020
strategy:
2121
fail-fast: false
@@ -43,29 +43,11 @@ jobs:
4343
source .env
4444
docker compose --profile e2e up -d sentry-svelte-mini
4545
46-
- name: Wait for services to be healthy
47-
run: |
48-
cd .devcontainer
49-
source .env
50-
51-
echo "Waiting for Rails mini app to be ready on port ${SENTRY_E2E_RAILS_APP_PORT}..."
52-
timeout 60 bash -c "until curl -s http://localhost:${SENTRY_E2E_RAILS_APP_PORT}/health | grep -q 'ok'; do echo 'Waiting for Rails app...'; sleep 2; done"
53-
echo "✅ Rails mini app is ready"
54-
55-
echo "Waiting for Svelte mini app to be ready on port ${SENTRY_E2E_SVELTE_APP_PORT}..."
56-
timeout 60 bash -c "until curl -s http://localhost:${SENTRY_E2E_SVELTE_APP_PORT}/health | grep -q 'ok'; do echo 'Waiting for Svelte app...'; sleep 2; done"
57-
echo "✅ Svelte mini app is ready"
58-
59-
echo "All services are healthy!"
60-
6146
- name: Run e2e tests
6247
run: |
6348
cd .devcontainer
6449
source .env
6550
docker compose --profile e2e run --rm sentry-test bundle exec rake
66-
env:
67-
SENTRY_E2E_RAILS_APP_URL: http://sentry-rails-mini:5000
68-
SENTRY_E2E_SVELTE_APP_URL: http://sentry-svelte-mini:5001
6951
7052
- name: Stop e2e services
7153
if: always()

0 commit comments

Comments
 (0)