Skip to content

Commit

Permalink
Migrate phpunit configuration before executing the tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
thirsch committed May 3, 2024
1 parent 816bfa0 commit 3cf06f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/phpunit-l10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,8 @@ jobs:
composer require "illuminate/support:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update --no-progress
composer update --${{ matrix.dependency }} --prefer-dist --no-interaction --no-suggest --no-progress
- name: Migrate configuration file
run: vendor/bin/phpunit --migrate-configuration

- name: Execute tests
run: vendor/bin/phpunit
3 changes: 3 additions & 0 deletions .github/workflows/phpunit-l11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,8 @@ jobs:
composer require "illuminate/support:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.dependency }} --prefer-dist --no-interaction --no-suggest
- name: Migrate configuration file
run: vendor/bin/phpunit --migrate-configuration

- name: Execute tests
run: vendor/bin/phpunit

0 comments on commit 3cf06f2

Please sign in to comment.