Skip to content

Commit

Permalink
delete existing wp
Browse files Browse the repository at this point in the history
  • Loading branch information
sangeetha-nayak committed Oct 30, 2023
1 parent 4cb604c commit 2aeab24
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/sample-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ jobs:
# working-directory: ${{ steps.workflow.outputs.DIST }}
# run: find .

- name: Destroy Existing Wp-env
run: npx wp-env destroy


- name: Configure WordPress
run: echo '{"config":{"WP_DEBUG_DISPLAY":false},"plugins":["${{ steps.workflow.outputs.DIST }}/${{ steps.workflow.outputs.PACKAGE }}"]}' > .wp-env.override.json
Expand All @@ -145,9 +148,7 @@ jobs:

- name: Run Cypress Tests
working-directory: ./modules/${{ github.repository }}
run: |
pwd
npx cypress run
run: npx cypress run

- name: Store screenshots of test failures
if: ${{ failure() }}
Expand Down

0 comments on commit 2aeab24

Please sign in to comment.