Skip to content

Commit

Permalink
Cypress action
Browse files Browse the repository at this point in the history
Took 8 minutes


Took 1 minute
  • Loading branch information
mikepsinn committed Apr 21, 2022
1 parent 1ffb3fd commit 0107c92
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Cypress tests
on: [push]
jobs:
cypress-run:
name: Cypress run
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Cypress run
uses: cypress-io/github-action@v2
with:
record: true
env:
# pass the Dashboard record key as an environment variable
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
# pass GitHub token to allow accurately detecting a build vs a re-run build
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# pass the project ID from the secrets through environment variable
CYPRESS_PROJECT_ID: ${{ secrets.PROJECT_ID }}
1 change: 0 additions & 1 deletion cypress.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"chromeWebSecurity": false,
"baseUrl": "https://app.quantimo.do",
"projectId": "ee8wan",
"pageLoadTimeout": 60000,
"videoCompression": false,
"videoUploadOnPasses": false,
Expand Down

0 comments on commit 0107c92

Please sign in to comment.