Skip to content

Commit

Permalink
Move Module Cypress Tests above (all) Cypress Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHenryIE committed Feb 1, 2024
1 parent 1192d58 commit 4a188ee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/module-plugin-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4a188ee

Please sign in to comment.