mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-23 10:04:18 -08:00
parent
dbf1ae2ad8
commit
f301dfcd80
1 changed files with 10 additions and 4 deletions
10
.github/workflows/e2e.yml
vendored
10
.github/workflows/e2e.yml
vendored
|
@ -1,14 +1,20 @@
|
||||||
name: example-cron
|
name: End to end tests
|
||||||
on:
|
on:
|
||||||
|
# push
|
||||||
schedule:
|
schedule:
|
||||||
# runs tests every day at 12am ET (4am UTC)
|
# runs tests every day at 12am ET (4am UTC)
|
||||||
- cron: '0 4 * * *'
|
- cron: '0 4 * * *'
|
||||||
jobs:
|
jobs:
|
||||||
nightly:
|
nightly:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
env:
|
||||||
|
working-directory: ./client
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- run: cd justice40-tool/client
|
|
||||||
- name: Cypress nightly tests 🌃
|
- name: Cypress nightly tests 🌃
|
||||||
uses: cypress-io/github-action@v2
|
uses: cypress-io/github-action@v2
|
||||||
|
with:
|
||||||
|
working-directory: ${{env.working-directory}}
|
||||||
|
start: npm start
|
||||||
|
wait-on: 'http://localhost:8000'
|
||||||
|
|
Loading…
Add table
Reference in a new issue