-
-
Notifications
You must be signed in to change notification settings - Fork 440
30 lines (22 loc) · 780 Bytes
/
compat_test.yaml
File metadata and controls
30 lines (22 loc) · 780 Bytes
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
# builds the content of https://github.com/rectorphp/rector
# inspiration from https://github.com/phpstan/phpstan-src/blob/master/.github/workflows/phar.yml
name: PHPUnit and PHPStan Compat Test
on:
push:
branches:
- main
pull_request: null
jobs:
build_scoped_rector:
runs-on: ubuntu-latest
steps:
-
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
coverage: none
- run: composer create-project "rector/rector-compat-tests:dev-main" .
- run: vendor/bin/phpunit tests/PHPStan
- run: vendor/bin/phpunit tests/Rector
- run: vendor/bin/phpunit tests
- run: vendor/bin/phpunit