Skip to content

Commit

Permalink
feat(e2e): edit workflow for e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cmoinier committed Nov 28, 2023
1 parent 76f7cd2 commit a076dc0
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 27 deletions.
1 change: 0 additions & 1 deletion .github/workflows/artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
push:
branches:
- main
- develop
release:
types: [published]
issue_comment:
Expand Down
23 changes: 22 additions & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ on:
push:
branches:
- main
- develop
pull_request:
types: [opened, synchronize, ready_for_review]

Expand Down Expand Up @@ -142,3 +141,25 @@ jobs:
- [ ] 📦 Build and push affected docker images'
comment_tag: build-options
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

cypress-run:
name: End-to-end tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'

- name: Build the backend
run: sudo docker-compose -f support-services/docker-compose.yml up -d init

- name: Install dependencies
run: |
npm ci
- name: Run tests
run: npx nx run-many --target=e2e
25 changes: 0 additions & 25 deletions .github/workflows/e2e.yml

This file was deleted.

0 comments on commit a076dc0

Please sign in to comment.