Skip to content

Commit

Permalink
👀 fixing test execution not being skipped for 8.1 & laravel 11
Browse files Browse the repository at this point in the history
  • Loading branch information
yordadev committed Apr 18, 2024
1 parent bd50c8c commit 3af7901
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,16 @@ jobs:
- name: Install dependencies
run: |
if [ "${{ matrix.skip }}" == "true" ]; then
echo "Skipping PHP ${{ matrix.php }} with Laravel 11."
echo "Skipping Install Dependencies ${{ matrix.php }} with Laravel 11."
exit 0
fi
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --prefer-dist --no-interaction --no-suggest
- name: Execute tests
if: ${{ matrix.skip != 'true' }}
run: vendor/bin/phpunit
run: |
if [ "${{ matrix.skip }}" == "true" ]; then
echo "Skipping Test Execution for ${{ matrix.php }} with Laravel 11."
exit 0
fi
vendor/bin/phpunit --testdox

0 comments on commit 3af7901

Please sign in to comment.