Nightly integration test #169
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Nightly integration test | |
| on: | |
| schedule: | |
| # Run every day at 0 minutes and 0 hours (midnight GMT) | |
| - cron: '0 0 * * *' | |
| jobs: | |
| nightly-integration-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - uses: cypress-io/github-action@v2 | |
| with: | |
| browser: chrome | |
| headless: true | |
| - name: Report failure to slack | |
| if: failure() | |
| uses: rtCamp/action-slack-notify@v2 | |
| env: | |
| SLACK_CHANNEL: cadence-docs | |
| SLACK_MESSAGE: 'Nightly integration test has failed.' | |
| SLACK_TITLE: cadence-docs integration test | |
| SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} |