Update CI configuration for E2E tests and add Supabase start step

This commit is contained in:
MartinBraquet
2026-02-24 00:58:12 +01:00
parent 337ce4523f
commit 1aae688f3f

View File

@@ -2,9 +2,9 @@ name: E2E Tests
on:
push:
branches: [main]
branches: [ main ]
pull_request:
branches: [main]
branches: [ main ]
jobs:
e2e:
@@ -39,6 +39,12 @@ jobs:
- name: Install Playwright browsers
run: npx playwright install chromium --with-deps
- name: Start Supabase # optional step, as if supabase is stopped, it would be started in test:e2e, but done here to avoid cluttering the logs of the E2E tests
run: |
echo "::group::Supabase start (docker pull logs)"
npx supabase start
echo "::endgroup::"
- name: Run E2E tests
env:
SKIP_DB_CLEANUP: true # Don't try to stop Docker in CI