Skip to content

Commit

Permalink
allow woo in composer
Browse files Browse the repository at this point in the history
  • Loading branch information
carlHandy committed Jul 20, 2024
1 parent 4515f9d commit a17063e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ jobs:
cd /home/runner/wordpress-tests/wordpress-develop
composer config --no-plugins allow-plugins.composer/installers true
composer require woocommerce/woocommerce
cd /home/runner/work/mmg-wp-plugin/mmg-wp-plugin
composer require woocommerce/woocommerce
- name: Run PHPUnit tests
env:
Expand All @@ -74,4 +76,4 @@ jobs:
# Set WP_PLUGIN_DIR environment variable
export WP_PLUGIN_DIR=/home/runner/wordpress-tests/wordpress-develop/src/wp-content/plugins
# Run PHPUnit tests
vendor/bin/phpunit --bootstrap tests/bootstrap.php
vendor/bin/phpunit --bootstrap tests/bootstrap.php --debug

0 comments on commit a17063e

Please sign in to comment.