Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

Cypress Test Production #666

Cypress Test Production

Cypress Test Production #666

name: Cypress Test Production
# This workflow runs the Cypress test suite on the production server
# https://coronawarn.app
on:
workflow_dispatch:
schedule:
# Run daily at 9:00 UTC
- cron: "0 9 * * *"
jobs:
Cypress-Test-Production:
runs-on: ubuntu-latest
env:
NO_COLOR: true
TERM: xterm
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node.js 18 environment
uses: actions/setup-node@v3
with:
node-version: 'lts/hydrogen'
- name: Install npm dependencies
run: npm ci
- name: Cypress run
run: npx cypress run -s 'cypress/e2e/*.js' -c baseUrl=https://www.coronawarn.app --e2e --headless --browser chrome
env:
# See issue https://github.com/cypress-io/cypress/issues/25357
ELECTRON_EXTRA_LAUNCH_ARGS: '--disable-gpu'