Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue #376 - Install phpunit dependencies before runs the tests #377

Merged
merged 1 commit into from Dec 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion examples/symfony-mysql.yml
Expand Up @@ -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
Expand All @@ -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
3 changes: 2 additions & 1 deletion examples/symfony-postgres.yml
Expand Up @@ -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
Expand All @@ -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
3 changes: 2 additions & 1 deletion examples/symfony.yml
Expand Up @@ -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