Skip to content

Commit 243d472

Browse files
committed
add configuration to mysql image and remove prepare-tests
1 parent 5164826 commit 243d472

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.circleci/config.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ jobs:
1111
MYSQL_PASSWORD: password1
1212
MYSQL_HOST: 127.0.0.1
1313
- image: circleci/mysql:5.7
14+
environment:
15+
MYSQL_DB: wp_cli_test_scaffold
16+
MYSQL_USER: wp_cli_test
17+
MYSQL_PASSWORD: password1
18+
MYSQL_HOST: 127.0.0.1
1419
steps:
1520
- checkout
1621
- run: |
@@ -22,7 +27,6 @@ jobs:
2227
echo -e "memory_limit = 1024M" | sudo tee /usr/local/etc/php/php.ini > /dev/null
2328
- run: |
2429
composer install
25-
composer prepare-tests
2630
- run: |
2731
echo 'export PATH=$HOME/wp-cli/package-tests/vendor/bin:$PATH' >> $BASH_ENV
2832
source $BASH_ENV

0 commit comments

Comments
 (0)