mirror of
https://github.com/shivammathur/setup-php.git
synced 2026-10-15 20:06:58 +00:00
issue #376 - Install phpunit dependencies before runs the tests
This commit is contained in:
1 parent
b7d1d9c9a9
commit
81964ae791
3 files changed
+6
-3
No files matched your search
@@ -44,6 +44,7 @@ jobs:
|
||||
- name: Install Composer dependencies
|
||||
run: |
|
||||
composer install --no-progress --prefer-dist --optimize-autoloader
|
||||
php bin/phpunit install
|
||||
- name: Run Migration
|
||||
run: |
|
||||
composer require symfony/orm-pack
|
||||
@@ -52,4 +53,4 @@ jobs:
|
||||
env:
|
||||
DATABASE_URL: mysql://root:symfony@127.0.0.1:${{ job.services.mysql.ports['3306'] }}/symfony
|
||||
- name: Run Tests
|
||||
run: php bin/phpunit --coverage-text
|
||||
run: php bin/phpunit --coverage-text
|
||||
@@ -42,6 +42,7 @@ jobs:
|
||||
- name: Install Composer dependencies
|
||||
run: |
|
||||
composer install --no-progress --prefer-dist --optimize-autoloader
|
||||
php bin/phpunit install
|
||||
- name: Run Migration
|
||||
run: |
|
||||
composer require symfony/orm-pack
|
||||
@@ -50,4 +51,4 @@ jobs:
|
||||
env:
|
||||
DATABASE_URL: postgres://postgres:postgres@127.0.0.1:${{ job.services.postgres.ports[5432] }}/postgres?charset=UTF-8
|
||||
- name: Run Tests
|
||||
run: php bin/phpunit --coverage-text
|
||||
run: php bin/phpunit --coverage-text
|
||||
@@ -34,5 +34,6 @@ jobs:
|
||||
run: |
|
||||
composer require symfony/orm-pack
|
||||
composer install --no-progress --prefer-dist --optimize-autoloader
|
||||
php bin/phpunit install
|
||||
- name: Run Tests
|
||||
run: php bin/phpunit --coverage-text
|
||||
run: php bin/phpunit --coverage-text
|
||||
Reference in new issue
Block a user