Merge pull request #1 from ganeshhubale/workflows #1254
This file contains 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: Regression tests | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
# schedule: | |
# - cron: "0 0 1 * *" // At 00:00 on day-of-month 1. | |
jobs: | |
tests: | |
name: Regression test suite | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout to master branch | |
uses: actions/checkout@v2 | |
- name: Cypress run | |
uses: cypress-io/github-action@v2 | |
with: | |
record: false | |
start: npx echo "Starting regression tests" | |
config: pageLoadTimeout=100000,retries=2,video=false | |
browser: chrome | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
CYPRESS_username: ${{ secrets.USER }} | |
CYPRESS_password: ${{ secrets.PASS }} |