create release (#354) #963
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |