From 1459bc6879ce700830e710f30764b4562f2f52d3 Mon Sep 17 00:00:00 2001 From: Oliver Eyton-Williams Date: Wed, 12 Oct 2022 18:08:08 +0200 Subject: [PATCH] chore: only run one spec with electron (#47998) --- .github/workflows/cypress.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 5f6553a9ffe..5185ec45189 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -64,9 +64,15 @@ jobs: strategy: fail-fast: false matrix: - browsers: [chrome, firefox] + browsers: [chrome, firefox, electron] node-version: [16.x] - + include: + - browsers: electron + spec: cypress/e2e/default/learn/challenges/projects.js + - browsers: chrome + spec: cypress/e2e/default/**/*.js + - browsers: firefox + spec: cypress/e2e/default/**/*.js services: mongodb: image: mongo:4 @@ -133,6 +139,4 @@ jobs: config: baseUrl=http://localhost:8000 browser: ${{ matrix.browsers }} headless: true - spec: | - ${{ matrix.spec }} - cypress/e2e/default/**/*.js + spec: ${{ matrix.spec }}