mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-03-25 18:13:48 -04:00
Update CI configuration for E2E tests and add Supabase start step
This commit is contained in:
10
.github/workflows/ci-e2e.yml
vendored
10
.github/workflows/ci-e2e.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user