From 9803bdd30be1780736a9e0102c41caaf61bcf709 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Wed, 30 Aug 2023 15:15:49 +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 9fb28af..8825442 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -34,16 +34,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 }}