Skip to content

Merge pull request #301 from latticexyz/holic/waitfortx #1

Merge pull request #301 from latticexyz/holic/waitfortx

Merge pull request #301 from latticexyz/holic/waitfortx #1

Workflow file for this run

name: Run E2E Tests
on:
workflow_call:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
docker-e2e:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
uses: ./.github/actions/install-dependencies
- name: Install test dependencies
run: cd test/e2e && pnpm install .
- name: Start Docker
run: docker compose -f "test/e2e/docker-compose.yml" up -d
- name: Start tests
run: cd test/e2e && pnpm run test:ci
- name: Stop containers
if: always()
run: docker compose -f "test/e2e/docker-compose.yml" down