Skip to content

Fix/ae 2031 cypress tests fix #4

Fix/ae 2031 cypress tests fix

Fix/ae 2031 cypress tests fix #4

Workflow file for this run

name: E2E Cypress CI
on:
pull_request:
push:
branches:
- main
- feature/AE-2090-aineistot-lambda-schedule-rule-v2
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 18.x ]
steps:
- uses: actions/checkout@v4
- name: Prepare java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Install clojure tools
working-directory: etp-core/etp-backend
uses: DeLaGuardo/[email protected]

Check failure on line 26 in .github/workflows/ci-e2e-cypress.yml

View workflow run for this annotation

GitHub Actions / E2E Cypress CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci-e2e-cypress.yml (Line: 26, Col: 9): Unexpected value 'uses' .github/workflows/ci-e2e-cypress.yml (Line: 27, Col: 9): Unexpected value 'with'
with:
cli: 1.11.1.1273
- name: Install Libreoffice
working-directory: etp-core/etp-backend
run: sudo apt-get update && sudo apt-get install libreoffice
- name: Docker Compose
working-directory: etp-core/docker
run: ./start.sh
- name: Run backend
working-directory: etp-core/etp-backend
run: clojure -M:dev -e "(reset)" &
- name: Use Node.js ${{ matrix.node-version }}
working-directory: etp-front
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: etp-front/package-lock.json
- name: Cypress run
uses: cypress-io/github-action@v6
working-directory: etp-front
with:
start: npm run dev
wait-on: 'http://localhost:8000, http://localhost:3000'