File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 6969 name : ${{ needs.detect-plugin.outputs.plugin }} Playwright E2E Tests
7070 env :
7171 PLUGIN : ${{ needs.detect-plugin.outputs.plugin }}
72+
7273 steps :
7374 - name : Checkout code
7475 uses : actions/checkout@v4
@@ -81,27 +82,27 @@ jobs:
8182
8283 - name : Install dependencies
8384 run : npm ci
84- working-directory : plugins/${{ env.PLUGIN }}
8585
8686 - name : Setup PHP with Cached Composer
8787 uses : ./.github/actions/setup-php-composer
8888 with :
8989 php-version : 8.2
90- working-directory : plugins/${{ env.PLUGIN }}
90+ working-directory : plugins/${{ env.PLUGIN }}
9191 composer-options : ' --no-progress --optimize-autoloader --no-dev'
9292
93- - name : Install playwright browsers (${{ env.PLUGIN }})
93+ - name : Install playwright browsers
9494 run : npx playwright install --with-deps
9595 working-directory : plugins/${{ env.PLUGIN }}
9696
97- - name : Start wp-env (${{ env.PLUGIN }})
98- run : npm run wp-env start
97+ - name : Start wp-env
98+ run : |
99+ npm run wp-env start
99100 working-directory : plugins/${{ env.PLUGIN }}
100101
101- - name : Run Playwright tests (${{ env.PLUGIN }})
102+ - name : Run Playwright tests
102103 run : npm run test:e2e
103104 working-directory : plugins/${{ env.PLUGIN }}
104105
105- - name : Stop wp-env (${{ env.PLUGIN }})
106+ - name : Stop wp-env
106107 run : npm run wp-env stop
107108 working-directory : plugins/${{ env.PLUGIN }}
You can’t perform that action at this time.
0 commit comments