From a206209756de71beedd9f3420ece4c7cad63fe59 Mon Sep 17 00:00:00 2001 From: Vicente Canales Date: Fri, 8 Mar 2024 17:45:10 -0300 Subject: [PATCH] run command outside container in gh context --- .github/workflows/pr-checks.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index fe623a2d..e581ca22 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -46,7 +46,7 @@ jobs: run: npm run lint:pkg-json tests: - name: JavaScript Unit Test + name: Test Suite runs-on: ubuntu-latest steps: - name: Checkout @@ -78,8 +78,8 @@ jobs: - name: Run JavaScript unit tests run: npm run test:unit - - name: Run tests + - name: Run PHP tests run: | mysql -uroot -h127.0.0.1 -e 'SELECT version()' \ && ./bin/install-wp-tests.sh --recreate-db wordpress_test root '' > /dev/null \ - && npm run test:php + && composer run-script test