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

chore: using matrix for cypress compatibility #8

Merged
merged 10 commits into from
Sep 22, 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
41 changes: 0 additions & 41 deletions .github/_workflows/e2e-cypress-12-ccy-1.10.yml

This file was deleted.

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
13 changes: 0 additions & 13 deletions e2e/cypress-12-demo/currents.config.js

This file was deleted.

26 changes: 0 additions & 26 deletions e2e/cypress-12-demo/cypress.config.ts

This file was deleted.

9 changes: 0 additions & 9 deletions e2e/cypress-12-demo/cypress/support/e2e.ts

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading