From 4a188ee6be9bc609d215858783c0007bf8018791 Mon Sep 17 00:00:00 2001 From: Brian Henry Date: Wed, 31 Jan 2024 17:06:09 -0800 Subject: [PATCH] Move Module Cypress Tests above (all) Cypress Tests --- .github/workflows/module-plugin-test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/module-plugin-test.yml b/.github/workflows/module-plugin-test.yml index aaae6c8..63e6685 100644 --- a/.github/workflows/module-plugin-test.yml +++ b/.github/workflows/module-plugin-test.yml @@ -210,14 +210,14 @@ jobs: - name: Install WordPress run: npx @wordpress/env@latest start - - name: Run Cypress Tests - if: ${{ ! inputs.only-module-tests }} - run: npm run test:e2e -- --browser chrome - - name: Run Only Module Cypress Tests if: ${{ inputs.only-module-tests }} run: npm run test:e2e -- --browser chrome --spec "vendor/${{ inputs.module-repo }}/**/*" + - name: Run Cypress Tests + if: ${{ ! inputs.only-module-tests }} + run: npm run test:e2e -- --browser chrome + - name: Store screenshots of test failures if: failure() uses: actions/upload-artifact@v3