Skip to content

Commit

Permalink
Allow running phpunit in container
Browse files Browse the repository at this point in the history
  • Loading branch information
delawski committed Jan 5, 2022
1 parent 21de4ea commit a6d8e8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ built
/phpcs.xml
/phpunit.xml
/*.sql
tmp

# Generated via bin/transform-readme.php
/readme.txt
2 changes: 2 additions & 0 deletions bin/local-env/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ services:
volumes:
- wordpress_phpunit_data:/var/www/html
- ../../:/var/www/html/wp-content/plugins/amp
- ../../tmp/wordpress-develop/tests/phpunit/:/var/www/tests/phpunit
depends_on:
- mysql_phpunit

Expand Down Expand Up @@ -81,6 +82,7 @@ services:
volumes:
- wordpress_phpunit_data:/var/www/html
- ../../:/var/www/html/wp-content/plugins/amp
- ../../tmp/wordpress-develop/tests/phpunit/:/var/www/tests/phpunit
env_file:
- .env.wp
- .env.wp-phpunit
Expand Down

0 comments on commit a6d8e8e

Please sign in to comment.