From febffff01d26cdb199ad07612a92f6a379b792ab Mon Sep 17 00:00:00 2001 From: MasayaMORIMOTO <109723806+MasayaMORIMOTO@users.noreply.github.com> Date: Thu, 31 Oct 2024 17:27:14 +0900 Subject: [PATCH] Update php_unit_test.yml --- .github/workflows/php_unit_test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/php_unit_test.yml b/.github/workflows/php_unit_test.yml index ccc2cc9..74275a2 100644 --- a/.github/workflows/php_unit_test.yml +++ b/.github/workflows/php_unit_test.yml @@ -67,5 +67,10 @@ jobs: curl -sL "${{ secrets.G3_PRO_UNIT_URL }}" -o plugin.zip unzip plugin.zip -d temp/plugins rm -f plugin.zip + - name: Run @wordpress/env + run: | + sudo apt install --upgrade docker-compose + npx wp-env destroy + npx wp-env start - name: PHP Unit Test run: npm run phpunit