Skip to content

Commit

Permalink
clean ci
Browse files Browse the repository at this point in the history
  • Loading branch information
f-necas committed Oct 19, 2023
1 parent c3d2bdc commit 552aea2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 143 deletions.
25 changes: 1 addition & 24 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,38 +9,15 @@ jobs:
cypress-run:
name: Cypress test
runs-on: ubuntu-latest
container:
#image: cypress/browsers:node18.12.0-chrome107
steps:
- uses: actions/checkout@v4

- name: Cache node modules
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

- name: Cache Cypress binary
uses: actions/cache@v3
with:
path: ~/.cache/Cypress
key: cypress-${{ runner.os }}-cypress-${{ hashFiles('**/package-lock.json') }}

- name: Build the backend
run: sudo docker-compose up -d

#- name: Test backend
# run: docker run --network container:webapp-frontend appropriate/curl -s --retry 10 --retry-connrefused http://localhost:8080/geonetwork
run: sudo docker-compose -f support-services/docker-compose.yml up -d

- name: install dependencies and verify Cypress
env:
# make sure every Cypress install prints minimal information
CI: 1
run: |
npm ci
npx cypress verify
npx cypress info
npx cypress version
- name: Cypress tests
run: npx nx run-many --projects=${{ env.APP_NAMES }} --target=e2e
Expand Down
119 changes: 0 additions & 119 deletions docker-compose.yml

This file was deleted.

0 comments on commit 552aea2

Please sign in to comment.