-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompat_tests_global_rector.yaml
More file actions
42 lines (31 loc) · 1.1 KB
/
compat_tests_global_rector.yaml
File metadata and controls
42 lines (31 loc) · 1.1 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
name: PHPUnit installed globally
on:
pull_request: null
push:
branches:
- main
jobs:
compat_tests:
strategy:
fail-fast: false
matrix:
actions:
-
name: 'Rector dev + PHPUnit 12 global for Rector'
run: composer require --dev "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: composer remove --dev phpunit/phpunit -W
- run: composer global require --dev "phpunit/phpunit:12.*" -W
- run: ${{ matrix.actions.run }}
- run: /home/runner/.composer/vendor/bin/phpunit tests/Rector
- run: /home/runner/.composer/vendor/bin/phpunit