From 3e5107dc347dfb9ca4579a9d284af2a3eeb72243 Mon Sep 17 00:00:00 2001 From: ASpiteri-BCGov <49036255+ASpiteri-BCGov@users.noreply.github.com> Date: Tue, 15 Oct 2024 08:38:22 -0700 Subject: [PATCH] test --- .github/workflows/testing.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 1a96e58..795e209 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -9,6 +9,9 @@ on: jobs: tests: runs-on: ubuntu-latest + env: + WP_CORE_DIR: /tmp/wordpress + WP_TESTS_DIR: /tmp/wordpress-tests-lib services: mysql: # Update the specific version of MySQL to match the version used on your server. @@ -45,17 +48,6 @@ jobs: - name: Configure Tests run: composer test-setup - - name: Set environment variables - run: | - export WP_CORE_DIR=/tmp/wordpress - export WP_TESTS_DIR=/tmp/wordpress-tests-lib - - - name: Verify test setup - run: | - ls -ld /tmp/wordpress-tests-lib - echo $WP_CORE_DIR - echo $WP_TESTS_DIR - - name: Run PHPUnit tests run: vendor/bin/phpunit --configuration vendor/bcgov/wordpress-utils/phpunit.xml.dist