Skip to content

Cypress 🎳

Cypress 🎳 #179

name: "Cypress 🎳"
on:
push:
branches:
- master
- release_3_4
- refactor
- cypress-ci-cache
pull_request:
branches:
- master
- release_3_4
- refactor
jobs:
cypress:
name: "Cypress"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run tests docker
run: cd tests && ./lizmap-ctl clean && ./run-docker build && ./run-docker up -d
# Install NPM dependencies, cache them correctly
# and run all Cypress tests
- name: Cypress run
uses: cypress-io/github-action@v2
with:
browser: chrome
headless: true
working-directory: tests/js
wait-on: http://localhost:8130