From 17f9257ee6c0904265a0eb666405908484951f63 Mon Sep 17 00:00:00 2001 From: kurudrive Date: Wed, 20 Nov 2024 14:28:59 +0900 Subject: [PATCH 1/3] =?UTF-8?q?Playwright=20=E3=83=86=E3=82=B9=E3=83=88?= =?UTF-8?q?=E7=84=A1=E5=8A=B9=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build_check.yml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build_check.yml b/.github/workflows/build_check.yml index 5bdd41c4..591fbde6 100644 --- a/.github/workflows/build_check.yml +++ b/.github/workflows/build_check.yml @@ -99,15 +99,16 @@ jobs: run: ./node_modules/@wordpress/env/bin/wp-env run --env-cwd='wp-content/themes/lightning' tests-cli vendor/bin/phpunit -c phpunit.g2.xml --testdox - name: php unit test G3 run: ./node_modules/@wordpress/env/bin/wp-env run --env-cwd='wp-content/themes/lightning' tests-cli vendor/bin/phpunit -c phpunit.g3.xml --testdox - - name: Install dependencies //////////////////////// - run: npm ci - - name: Install Playwright Browsers - run: npx playwright install --with-deps - - name: Run Playwright tests - run: npx playwright test --trace on --project=chromium - - uses: actions/upload-artifact@v3 - if: always() - with: - name: playwright-report - path: playwright-report/ - retention-days: 30 + # CSS Optimize 0.2.2 より後のバージョンアップしてから再調整 + # - name: Install dependencies //////////////////////// + # run: npm ci + # - name: Install Playwright Browsers + # run: npx playwright install --with-deps + # - name: Run Playwright tests + # run: npx playwright test --trace on --project=chromium + # - uses: actions/upload-artifact@v3 + # if: always() + # with: + # name: playwright-report + # path: playwright-report/ + # retention-days: 30 From 025687c9bc328eb0ce6de34af0c828387ef72758 Mon Sep 17 00:00:00 2001 From: kurudrive Date: Wed, 20 Nov 2024 14:37:01 +0900 Subject: [PATCH 2/3] disable Playwright --- .github/workflows/build_check.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_check.yml b/.github/workflows/build_check.yml index 591fbde6..3f87bfb8 100644 --- a/.github/workflows/build_check.yml +++ b/.github/workflows/build_check.yml @@ -100,14 +100,14 @@ jobs: - name: php unit test G3 run: ./node_modules/@wordpress/env/bin/wp-env run --env-cwd='wp-content/themes/lightning' tests-cli vendor/bin/phpunit -c phpunit.g3.xml --testdox # CSS Optimize 0.2.2 より後のバージョンアップしてから再調整 + # actions/upload-artifact@v3の直後で改行が必要 # - name: Install dependencies //////////////////////// # run: npm ci # - name: Install Playwright Browsers # run: npx playwright install --with-deps # - name: Run Playwright tests # run: npx playwright test --trace on --project=chromium - # - uses: actions/upload-artifact@v3 - # if: always() + # - uses: actions/upload-artifact@v3if: always() # with: # name: playwright-report # path: playwright-report/ From 1d3663dc34c37a9db5e6512725dc20e4145c5341 Mon Sep 17 00:00:00 2001 From: kurudrive Date: Wed, 20 Nov 2024 14:37:58 +0900 Subject: [PATCH 3/3] delete Playwright --- .github/workflows/build_check.yml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/.github/workflows/build_check.yml b/.github/workflows/build_check.yml index 3f87bfb8..3b8bf0e5 100644 --- a/.github/workflows/build_check.yml +++ b/.github/workflows/build_check.yml @@ -99,16 +99,3 @@ jobs: run: ./node_modules/@wordpress/env/bin/wp-env run --env-cwd='wp-content/themes/lightning' tests-cli vendor/bin/phpunit -c phpunit.g2.xml --testdox - name: php unit test G3 run: ./node_modules/@wordpress/env/bin/wp-env run --env-cwd='wp-content/themes/lightning' tests-cli vendor/bin/phpunit -c phpunit.g3.xml --testdox - # CSS Optimize 0.2.2 より後のバージョンアップしてから再調整 - # actions/upload-artifact@v3の直後で改行が必要 - # - name: Install dependencies //////////////////////// - # run: npm ci - # - name: Install Playwright Browsers - # run: npx playwright install --with-deps - # - name: Run Playwright tests - # run: npx playwright test --trace on --project=chromium - # - uses: actions/upload-artifact@v3if: always() - # with: - # name: playwright-report - # path: playwright-report/ - # retention-days: 30