diff --git a/.github/workflows/reusable-codeception.yml b/.github/workflows/reusable-codeception.yml index 8bff169..7d01cae 100644 --- a/.github/workflows/reusable-codeception.yml +++ b/.github/workflows/reusable-codeception.yml @@ -105,8 +105,8 @@ jobs: - name: Log versions run: | - npm run wp-env -- run cli php -- -v - npm run wp-env -- run cli wp core version + npm run wp-env:test -- run cli php -- -v + npm run wp-env:test -- run cli wp core version - name: Run Codeception acceptance tests if: ${{ inputs.acceptance }} diff --git a/.github/workflows/reusable-phpunit.yml b/.github/workflows/reusable-phpunit.yml index f83d508..2a3290e 100644 --- a/.github/workflows/reusable-phpunit.yml +++ b/.github/workflows/reusable-phpunit.yml @@ -73,7 +73,7 @@ jobs: timeout_minutes: 10 max_attempts: 3 command: | - npm run wp-env start --${{ inputs.multisite && ' --multisite' || '' }}${{ inputs.coverage && ' --xdebug=coverage' || '' }} + npm run wp-env:test start --${{ inputs.multisite && ' --multisite' || '' }}${{ inputs.coverage && ' --xdebug=coverage' || '' }} - name: Log versions run: |