File tree Expand file tree Collapse file tree 1 file changed +51
-0
lines changed
Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Compat Tests for global install
2+
3+ on :
4+ pull_request : null
5+ push :
6+ branches :
7+ - main
8+
9+ jobs :
10+ compat_tests :
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ actions :
15+ -
16+ name : ' Rector dev + PHPUnit 12 global install'
17+ run : |
18+ composer remove --dev phpunit/phpunit -W
19+ composer global require --dev "phpunit/phpunit:12.*" -W
20+ composer require --dev "rector/rector:dev-main" -W
21+ php : 8.3
22+
23+ -
24+ name : ' Rector stable + PHPUnit 12 global install'
25+ run : |
26+ composer remove --dev phpunit/phpunit -W
27+ composer global require --dev "phpunit/phpunit:12.*" -W
28+ composer require --dev "rector/rector:^2.2" -W
29+ php : 8.3
30+
31+ name : ${{ matrix.actions.name }}
32+
33+ runs-on : ubuntu-latest
34+
35+ steps :
36+ - uses : actions/checkout@v4
37+
38+ -
39+ uses : shivammathur/setup-php@v2
40+ with :
41+ php-version : ${{ matrix.actions.php }}
42+ coverage : none
43+
44+ - uses : " ramsey/composer-install@v2"
45+ - run : ${{ matrix.actions.run }}
46+
47+ - run : phpunit tests/PHPStan
48+
49+ - run : phpunit tests/Rector
50+
51+ - run : phpunit
You can’t perform that action at this time.
0 commit comments