Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial support for Cypress Cloud #684

Merged
merged 1 commit into from
Nov 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ jobs:
options: --user 1001
env:
TZ: Europe/Copenhagen
strategy:
# When one test fails, DO NOT cancel the other containers, because this
# will kill Cypress processes leaving Cypress Cloud hanging.
# https://github.com/cypress-io/github-action/issues/48
fail-fast: false
matrix:
# Run 3 copies of the current job in parallel
containers: [1, 2, 3]
steps:
- uses: actions/checkout@master
- name: Setup Node
Expand All @@ -28,9 +36,16 @@ jobs:
- name: Cypress run
uses: cypress-io/github-action@v6
with:
install: false
start: yarn start:storybook:test
wait-on: "http://localhost:57021"
browser: chrome
group: "Integration tests"
parallel: true
record: true
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload screenshots
uses: actions/upload-artifact@v3
if: failure()
Expand Down
3 changes: 2 additions & 1 deletion cypress.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
"retries": {
"runMode": 3,
"openMode": 0
}
},
"projectId": "4trcdv"
}
Loading