This repository has been archived by the owner on Jan 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
132 changed files
with
10,727 additions
and
8,239 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Cypress tests | ||
on: [push] | ||
jobs: | ||
cypress-run: | ||
name: Cypress run | ||
runs-on: ubuntu-16.04 | ||
strategy: | ||
matrix: | ||
# the actual items in the array do not matter, | ||
# just the number - to force CI to sping 3 copies | ||
# of the current job in parallel | ||
machines: [1, 2, 3] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
|
||
- name: Cypress run | ||
uses: cypress-io/github-action@v2 | ||
with: | ||
record: true | ||
parallel: true | ||
start: yarn start | ||
wait-on: http://localhost:3344 | ||
env: | ||
WITH_COVERAGE: true | ||
# pass the Dashboard record key as an environment variable | ||
CYPRESS_RECORD_KEY: 0dcf0c08-68ce-4547-aaaa-ac33af76e4a9 | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Upload coverage to Codecov | ||
if: always() | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
directory: ./coverage/ | ||
name: codecov-umbrella | ||
# fail_ci_if_error: true | ||
path_to_write_report: ./coverage/codecov_report.gz | ||
# - name: Upload coverage result | ||
# uses: actions/upload-artifact@v2 | ||
# with: | ||
# name: cypress-coverage | ||
# path: coverage |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,5 @@ npm-debug.log* | |
/cypress/screenshots | ||
.linkEnv | ||
.idea | ||
.DS_Store | ||
.DS_Store | ||
.nyc_output |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.