From b4213245464e62a047ffd60a4b89d4f6f125393e Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Wed, 30 Aug 2023 15:44:54 +0200 Subject: [PATCH] Github Actions: Do not cancel further tests if one fails --- .github/workflows/php.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 771878c..180952a 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -33,16 +33,16 @@ jobs: run: composer require -n --no-progress overtrue/phplint - name: PHP Lint - if: success() || matrix.allow_failure + if: ${{ ! cancelled() }} run: ./vendor/bin/phplint -n --exclude={^vendor/.*} -- . - name: PHP CodeSniffer - if: success() || matrix.allow_failure + if: ${{ ! cancelled() }} run: phpcs -wps --colors - name: PHPStan + if: ${{ ! cancelled() }} uses: php-actions/phpstan@v3 - if: success() || matrix.allow_failure test: name: Unit tests with PHP ${{ matrix.php }} on ${{ matrix.os }}