Skip to content

Add E2E tests to workflow #11

Add E2E tests to workflow

Add E2E tests to workflow #11

Workflow file for this run

name: End-to-end tests
on:
push:
branches:
- main
- develop
pull_request:
types: [opened, synchronize, ready_for_review]
env:
# a list of apps to build and publish on releases
APP_NAMES: datahub-e2e,metadata-editor-e2e
jobs:
cypress-run:
name: Cypress test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build the backend
run: sudo docker-compose -f support-services/docker-compose.yml up -d init
- name: install dependencies
run: |
npm ci
- name: E2E tests
run: npx nx run-many --projects=${{ env.APP_NAMES }} --target=e2e