Skip to content

Commit

Permalink
Github Actions: Do not cancel further tests if one fails
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhwinder33445 committed Aug 30, 2023
1 parent 28da52e commit e44d28e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@ jobs:
run: composer require -n --no-progress overtrue/phplint

- name: PHP Lint
if: success() || matrix.allow_failure
run: ./vendor/bin/phplint -n --exclude={^vendor/.*} ${{ matrix.phplint_options }} -- .
if: ${{ ! cancelled() }}
run: ./vendor/bin/phplint -n --exclude={^vendor/.*} ${{ matrix.phplint_options }} -- .

- name: PHP CodeSniffer
if: success() || matrix.allow_failure
run: phpcs -wps --colors
if: ${{ ! cancelled() }}
run: phpcs -wps --colors

- name: PHPStan
uses: php-actions/phpstan@v3
if: success() || matrix.allow_failure
if: ${{ ! cancelled() }}
uses: php-actions/phpstan@v3

test:
name: Unit tests with php ${{ matrix.php }} on ${{ matrix.os }}
Expand Down

0 comments on commit e44d28e

Please sign in to comment.