-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: using matrix for cypress compatibility (#8)
* chore: using matrix for cypress compatibility * chore: .. * chore: remove debug for e2e compatibility * chore: test cypress version * chore: renames * chore: install cypress in package * chore: use match to get filenames * chore: fix e2e compat tests * chore: restore workflows * chore: remove redundandt test
- Loading branch information
Showing
44 changed files
with
54 additions
and
1,016 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
19 changes: 9 additions & 10 deletions
19
...hub/workflows/e2e-cypress-13-ccy-1.10.yml → ...b/workflows/e2e-cypress-compatibility.yml
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 |
---|---|---|
@@ -1,41 +1,40 @@ | ||
name: e2e-cypress-13-ccy-1_10 | ||
|
||
name: e2e-cypress-compatibility | ||
on: | ||
push: | ||
|
||
jobs: | ||
e2e-cypress-13-ccy-1_10: | ||
e2e-cypress-compatibility: | ||
if: "!contains(toJSON(github.event.commits.*.message), '[skip ci]')" | ||
runs-on: ubuntu-latest | ||
env: | ||
DEBUG: currents:* | ||
|
||
strategy: | ||
matrix: | ||
node-version: ["18"] | ||
cypress-version: ["13", "12"] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
node-version: "18" | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Install Cypress 13 | ||
run: npm install cypress@13 | ||
- name: Install Cypress ${{ matrix.cypress-version }} | ||
working-directory: ./packages/cypress-cloud | ||
run: npm install cypress@${{ matrix.cypress-version }} | ||
|
||
- name: Build | ||
run: npm run build | ||
|
||
- name: Run compatibility tests | ||
working-directory: ./e2e/cypress-13-demo | ||
working-directory: ./e2e/cypress-compatibility | ||
env: | ||
CURRENTS_API_KEY: ${{ secrets.CURRENTS_API_KEY }} | ||
CURRENTS_RUN_BASE_URL: ${{ secrets.CURRENTS_RUN_BASE_URL }} | ||
CURRENTS_PROJECT_ID: ${{ secrets.CURRENTS_PROJECT_ID }} | ||
CURRENTS_RECORD_KEY: ${{ secrets.CURRENTS_RECORD_KEY }} | ||
CURRENTS_USE_CYPRESS_VERSION: ${{ matrix.cypress-version }} | ||
|
||
run: > | ||
npx jest |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.