Skip to content

Commit

Permalink
test: add e2e tests
Browse files Browse the repository at this point in the history
test

test ci

clean ci

ci
  • Loading branch information
f-necas committed Nov 15, 2023
1 parent e523bd1 commit 4babfbe
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: End-to-end tests
on: push

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 and verify Cypress
run: |
npm ci
- name: Cypress tests
run: npx nx run-many --projects=${{ env.APP_NAMES }} --target=e2e

0 comments on commit 4babfbe

Please sign in to comment.