Skip to content

Commit 0107c92

Browse files
committed
Cypress action
Took 8 minutes Took 1 minute
1 parent 1ffb3fd commit 0107c92

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

.github/workflows/cypress.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Cypress tests
2+
on: [push]
3+
jobs:
4+
cypress-run:
5+
name: Cypress run
6+
runs-on: ubuntu-20.04
7+
steps:
8+
- name: Checkout
9+
uses: actions/checkout@v2
10+
11+
- name: Cypress run
12+
uses: cypress-io/github-action@v2
13+
with:
14+
record: true
15+
env:
16+
# pass the Dashboard record key as an environment variable
17+
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
18+
# pass GitHub token to allow accurately detecting a build vs a re-run build
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
# pass the project ID from the secrets through environment variable
21+
CYPRESS_PROJECT_ID: ${{ secrets.PROJECT_ID }}

cypress.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"chromeWebSecurity": false,
33
"baseUrl": "https://app.quantimo.do",
4-
"projectId": "ee8wan",
54
"pageLoadTimeout": 60000,
65
"videoCompression": false,
76
"videoUploadOnPasses": false,

0 commit comments

Comments
 (0)