mirror of https://github.com/buster-so/buster.git
Update web-e2e-tests-optimized.yml
This commit is contained in:
parent
ce9591b464
commit
dfc9263a26
|
@ -76,9 +76,20 @@ jobs:
|
|||
name: api-image
|
||||
path: api-image.tar
|
||||
|
||||
# 3. Run tests in 4 parallel shards
|
||||
# 3. Setup Supabase environment independently
|
||||
setup-supabase:
|
||||
runs-on: blacksmith-32vcpu-ubuntu-2204
|
||||
environment: testing
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Supabase Environment
|
||||
uses: ./.github/actions/setup-test-environment
|
||||
|
||||
# 4. Run tests in 4 parallel shards
|
||||
test:
|
||||
needs: [build-frontend, build-api]
|
||||
needs: [build-frontend, build-api, setup-supabase]
|
||||
runs-on: blacksmith-32vcpu-ubuntu-2204
|
||||
environment: testing
|
||||
services:
|
||||
|
@ -131,9 +142,6 @@ jobs:
|
|||
- name: Load API Docker Image
|
||||
run: docker load -i api-image.tar
|
||||
|
||||
- name: Setup Supabase Environment
|
||||
uses: ./.github/actions/setup-test-environment
|
||||
|
||||
- name: Start API Container
|
||||
run: |
|
||||
docker run -d --name local-api -p 3001:3001 \
|
||||
|
|
Loading…
Reference in New Issue