Skip to content

Commit

Permalink
Configure CI using docker for the backend
Browse files Browse the repository at this point in the history
This is just an experiment.
  • Loading branch information
wlsf82 committed May 21, 2024
1 parent ef5fc08 commit d718bbc
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ jobs:
gui-tests:
needs: eslint
runs-on: ubuntu-latest
services:
engagesphere-backend:
image: wlsf82/engagesphereserver:amd64
ports:
- 3001:3001
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install backend modules
uses: cypress-io/github-action@v6
with:
install-command: npm run install:backend
runTests: false
- name: Install frontend modules
uses: cypress-io/github-action@v6
with:
Expand All @@ -48,21 +48,21 @@ jobs:
- name: Run frontend GUI tests 🧪
uses: cypress-io/github-action@v6
with:
start: npm run start:frontend, npm run start:server
start: npm run start:frontend
command: npm run test:frontend:gui:cloud
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
api-tests:
needs: eslint
runs-on: ubuntu-latest
services:
engagesphere-backend:
image: wlsf82/engagesphereserver:amd64
ports:
- 3001:3001
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install backend modules
uses: cypress-io/github-action@v6
with:
install-command: npm run install:backend
runTests: false
- name: Install frontend modules
uses: cypress-io/github-action@v6
with:
Expand All @@ -71,7 +71,7 @@ jobs:
- name: Run API tests 🧪
uses: cypress-io/github-action@v6
with:
start: npm run start:frontend, npm run start:server
start: npm run start:frontend
command: npm run test:api:cloud
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}

0 comments on commit d718bbc

Please sign in to comment.