File tree Expand file tree Collapse file tree 2 files changed +17
-10
lines changed
Expand file tree Collapse file tree 2 files changed +17
-10
lines changed Original file line number Diff line number Diff line change 3131 tools : phpcs
3232
3333 - name : Setup dependencies
34- run : |
35- composer require -n --no-progress overtrue/phplint phpstan/phpstan
36- sudo git clone --depth 1 https://github.com/Icinga/icingaweb2.git /icingaweb2
37- sudo git clone --depth 1 https://github.com/Icinga/icingaweb2-module-director.git /usr/share/icingaweb2-modules/director
38- sudo git clone --depth 1 -b snapshot/nightly https://github.com/Icinga/icinga-php-library.git /usr/share/icinga-php/ipl
39- sudo git clone --depth 1 -b snapshot/nightly https://github.com/Icinga/icinga-php-thirdparty.git /usr/share/icinga-php/vendor
34+ run : composer require -n --no-progress overtrue/phplint
4035
4136 - name : PHP Lint
4237 if : ${{ ! cancelled() }}
4641 if : ${{ ! cancelled() }}
4742 run : phpcs
4843
49- - name : PHPStan
50- if : ${{ ! cancelled() }}
51- run : ./vendor/bin/phpstan analyse
52-
5344 test :
5445 name : Unit tests with PHP ${{ matrix.php }} on ${{ matrix.os }}
5546 runs-on : ${{ matrix.os }}
Original file line number Diff line number Diff line change 1+ name : PHPStan
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+
8+ jobs :
9+ phpstan :
10+ uses : icinga/github-actions/.github/workflows/phpstan.yml@main
11+ with :
12+ dependencies : |
13+ {
14+ "/icingaweb2" : "https://github.com/Icinga/icingaweb2.git",
15+ "/usr/share/icingaweb2-modules/director" : "https://github.com/Icinga/icingaweb2-module-director.git"
16+ }
You can’t perform that action at this time.
0 commit comments