-
Notifications
You must be signed in to change notification settings - Fork 42
28 lines (27 loc) · 833 Bytes
/
e2e.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Full command list of cypress github actions:
# https://github.com/cypress-io/github-action#cypress-iogithub-action--
name: End to End Tests
on:
# To run tests on the push event of a specific branch:
# push:
# branches:
# - vimusds/cypress-debug-download
schedule:
# runs tests every day at 12am ET (4am UTC):
- cron: '0 4 * * *'
jobs:
nightly:
runs-on: ubuntu-20.04
env:
working-directory: ./client
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cypress nightly tests 🌃
uses: cypress-io/github-action@v2
with:
working-directory: ${{env.working-directory}}
start: npm start
wait-on: 'http://localhost:8000'
# To run only specific spec/tests:
# spec: cypress/e2e/downloadPacket.spec.js