File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,9 @@ phases:
16
16
- echo Tests started on `date`
17
17
- ls -lha
18
18
- IMAGE_URI=$(jq -r '.ImageURI' $CODEBUILD_SRC_DIR_DevelopmentImageArtifact/imageDetail.json)
19
- - docker-compose -f docker-compose.test.yml run php vendor/bin/simple-phpunit
19
+ - |
20
+ docker-compose -f docker-compose.test.yml exec php bin/console doctrine:migrations:migrate --no-interaction --env=test --quiet && \
21
+ docker-compose -f docker-compose.test.yml exec php vendor/bin/simple-phpunit
20
22
- run -i $TEST_IMAGE_URI php bin/simplephpunit
21
23
post_build :
22
24
commands :
Original file line number Diff line number Diff line change @@ -22,3 +22,5 @@ services:
22
22
image : mysql:5.7
23
23
environment :
24
24
- MYSQL_ROOT_PASSWORD=root
25
+ - MYSQL_DATABASE=beep_test
26
+ command : ['--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci']
You can’t perform that action at this time.
0 commit comments