Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ASpiteri-BCGov committed Oct 15, 2024
1 parent 4fb4e65 commit 3e5107d
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 3e5107d

Please sign in to comment.