Skip to content

Commit

Permalink
update: update yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shashwatahalder01 committed Mar 14, 2024
1 parent 54f7793 commit b203aa0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/e2e_api_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ jobs:
# Run API tests
- name: 🧪 Running the api tests
id: api-test
if: always() && steps.db-port.outcome == 'success' || ( always() && steps.db-port.outcome == 'success' && (github.event_name == 'workflow_dispatch' && (github.event.inputs.testsuite == 'API' || github.event.inputs.testsuite == 'All')))
if: steps.db-port.outcome == 'success' || ( steps.db-port.outcome == 'success' && (github.event_name == 'workflow_dispatch' && (github.event.inputs.testsuite == 'API' || github.event.inputs.testsuite == 'All')))
timeout-minutes: 5
run: |
cd tests/pw
Expand Down Expand Up @@ -225,7 +225,7 @@ jobs:

# Backup Database
- name: Backup Database
if: steps.wp-env.outcome == 'success'
if: steps.db-port.outcome == 'success'
run: |
cd tests/pw
npm run wp-env run tests-cli wp db export wp-data/db.sql
Expand Down

0 comments on commit b203aa0

Please sign in to comment.