forked from rectorphp/rector-compat-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
62 lines (51 loc) · 2.06 KB
/
compat_tests.yaml.yml
File metadata and controls
62 lines (51 loc) · 2.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: Compat Tests
on:
pull_request: null
push:
branches:
- main
jobs:
compat_tests:
strategy:
fail-fast: false
matrix:
actions:
-
name: 'Rector stable + PHPUnit 10'
run: composer require "phpunit/phpunit:10.*" "rector/rector:^2.2" -W
php: 8.2
-
name: 'Rector dev + PHPUnit 10'
run: composer require "phpunit/phpunit:10.*" "rector/rector:dev-main" -W
php: 8.2
-
name: 'Rector stable + PHPUnit 11'
run: composer require "phpunit/phpunit:11.*" "rector/rector:^2.2" -W
php: 8.2
-
name: 'Rector dev + PHPUnit 11'
run: composer require "phpunit/phpunit:11.*" "rector/rector:dev-main" -W
php: 8.2
-
name: 'Rector stable + PHPUnit 12'
run: composer require "phpunit/phpunit:12.*" "rector/rector:^2.2" -W
php: 8.3
-
name: 'Rector dev + PHPUnit 12'
run: composer require "phpunit/phpunit:12.*" "rector/rector:dev-main" -W
php: 8.3
name: ${{ matrix.actions.name }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
-
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.actions.php }}
coverage: none
- uses: "ramsey/composer-install@v2"
- run: ${{ matrix.actions.run }}
- run: vendor/bin/phpunit tests/PHPStan
- run: vendor/bin/phpunit tests/PHPStan --config phpunit_custom_bootstrap.xml
- run: vendor/bin/phpunit tests/Rector
- run: vendor/bin/phpunit