Merge pull request #377 from smoqadam/master

issue #376 - Install phpunit dependencies before runs the tests
This commit is contained in:
Shivam Mathur 2020-12-19 04:36:39 -08:00 committed by GitHub
commit 862f206cd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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