2021-07-15 10:27:22 -07:00
|
|
|
name: End to end tests
|
2021-06-02 20:53:22 -04:00
|
|
|
on:
|
2021-07-15 10:27:22 -07:00
|
|
|
# push
|
2021-06-02 20:53:22 -04:00
|
|
|
schedule:
|
|
|
|
# runs tests every day at 12am ET (4am UTC)
|
|
|
|
- cron: '0 4 * * *'
|
2021-07-15 10:27:22 -07:00
|
|
|
jobs:
|
2021-06-02 20:53:22 -04:00
|
|
|
nightly:
|
|
|
|
runs-on: ubuntu-20.04
|
2021-07-15 10:27:22 -07:00
|
|
|
env:
|
|
|
|
working-directory: ./client
|
2021-06-02 20:53:22 -04:00
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Cypress nightly tests 🌃
|
2021-07-15 10:27:22 -07:00
|
|
|
uses: cypress-io/github-action@v2
|
|
|
|
with:
|
|
|
|
working-directory: ${{env.working-directory}}
|
|
|
|
start: npm start
|
|
|
|
wait-on: 'http://localhost:8000'
|