Update web-e2e-tests-optimized.yml

This commit is contained in:
Nate Kelley 2025-05-30 10:10:16 -06:00
parent ce9591b464
commit dfc9263a26
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
1 changed files with 13 additions and 5 deletions

View File

@ -76,9 +76,20 @@ jobs:
name: api-image name: api-image
path: api-image.tar 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: test:
needs: [build-frontend, build-api] needs: [build-frontend, build-api, setup-supabase]
runs-on: blacksmith-32vcpu-ubuntu-2204 runs-on: blacksmith-32vcpu-ubuntu-2204
environment: testing environment: testing
services: services:
@ -131,9 +142,6 @@ jobs:
- name: Load API Docker Image - name: Load API Docker Image
run: docker load -i api-image.tar run: docker load -i api-image.tar
- name: Setup Supabase Environment
uses: ./.github/actions/setup-test-environment
- name: Start API Container - name: Start API Container
run: | run: |
docker run -d --name local-api -p 3001:3001 \ docker run -d --name local-api -p 3001:3001 \