File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : " static analysis"
2+
3+ on :
4+ pull_request :
5+
6+ concurrency :
7+ group : ${{ github.workflow }}-${{ github.ref }}
8+ cancel-in-progress : true
9+
10+ jobs :
11+ static-analysis :
12+ strategy :
13+ fail-fast : false
14+ matrix :
15+ php : [8.2, 8.3]
16+
17+ runs-on : ubuntu-latest
18+ name : PHP ${{ matrix.php }} - Tests
19+
20+ steps :
21+ - name : checkout code
22+ uses : actions/checkout@v4
23+
24+ - name : setup php
25+ uses : shivammathur/setup-php@v2
26+ with :
27+ php-version : ${{ matrix.php }}
28+ tools : composer:v2
29+ coverage : none
30+
31+ - name : install dependencies
32+ uses : ramsey/composer-install@v3
33+
34+ - name : run static analysis
35+ run : vendor/bin/phpstan -c dev/phpstan/phpstan.neon.dist || true
Original file line number Diff line number Diff line change 1+ name : " tests"
2+
3+ on :
4+ pull_request :
5+
6+ concurrency :
7+ group : ${{ github.workflow }}-${{ github.ref }}
8+ cancel-in-progress : true
9+
10+ jobs :
11+ tests :
12+ strategy :
13+ fail-fast : false
14+ matrix :
15+ php : [8.2, 8.3]
16+
17+ runs-on : ubuntu-latest
18+ name : PHP ${{ matrix.php }} - Tests
19+
20+ steps :
21+ - name : checkout code
22+ uses : actions/checkout@v4
23+
24+ - name : setup php
25+ uses : shivammathur/setup-php@v2
26+ with :
27+ php-version : ${{ matrix.php }}
28+ tools : composer:v2
29+ coverage : none
30+
31+ - name : install dependencies
32+ uses : ramsey/composer-install@v3
33+
34+ - name : run unit tests
35+ run : vendor/bin/phpunit --colors=always --coverage-clover=coverage.xml -c dev/tests/unit/phpunit.xml.dist || true
You can’t perform that action at this time.
0 commit comments