@@ -2,9 +2,9 @@ name: "CI"
22
33on :
44 push :
5- branches : [main ]
5+ branches : [* ]
66 pull_request :
7- branches : [main ]
7+ branches : [* ]
88 workflow_dispatch :
99
1010permissions :
@@ -46,24 +46,24 @@ jobs:
4646 steps :
4747 - name : " Git: checkout"
4848 uses : actions/checkout@v4
49-
49+
5050 - name : " PHP: setup ${{ env.PHP_STABLE_VERSION }}"
5151 uses : shivammathur/setup-php@v2
5252 with :
5353 php-version : ${{ env.PHP_STABLE_VERSION }}
5454 coverage : pcov
5555 tools : phpstan
56-
56+
5757 - name : " Composer: install"
5858 run : composer install --prefer-dist --no-interaction --no-progress
59-
59+
6060 - name : " PHPStan: version"
6161 run : phpstan --version
62-
62+
6363 - name : " PHPStan: analyze"
6464 run : phpstan analyze --memory-limit=-1
6565
66- unit- tests :
66+ tests :
6767 name : " Unit Tests (PHP ${{ matrix.php-version }})"
6868 runs-on : ubuntu-latest
6969 strategy :
@@ -92,16 +92,16 @@ jobs:
9292 - name : " PHPUnit: version"
9393 run : phpunit --version
9494
95- - name : " PHPUnit: unit tests"
95+ - name : " PHPUnit: tests"
9696 if : matrix.php-version != env.PHP_STABLE_VERSION
9797 run : phpunit
9898
99- - name : " PHPUnit: all tests + coverage"
99+ - name : " PHPUnit: tests + coverage"
100100 if : matrix.php-version == env.PHP_STABLE_VERSION
101101 run : phpunit --coverage-clover ./coverage.xml
102102
103103 - name : " Codecov: upload coverage"
104- if : matrix.php-version == env.PHP_STABLE_VERSION
104+ if : matrix.php-version == env.PHP_STABLE_VERSION
105105 uses : codecov/codecov-action@v5
106106 with :
107107 files : ./coverage.xml
0 commit comments