2021-05-09 20:15:43 +00:00
|
|
|
name: Standalone Rule Test
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request: null
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
standalone_rule_test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2022-06-14 06:49:40 +00:00
|
|
|
php_version: ['7.3']
|
|
|
|
directory:
|
|
|
|
- 'e2e/rector-prefixed-rule-test'
|
|
|
|
|
|
|
|
name: End to end test - ${{ matrix.directory }}
|
2021-05-09 20:15:43 +00:00
|
|
|
|
|
|
|
steps:
|
2022-06-14 06:49:40 +00:00
|
|
|
- uses: actions/checkout@v2
|
2021-05-09 20:15:43 +00:00
|
|
|
|
|
|
|
- uses: shivammathur/setup-php@v2
|
|
|
|
with:
|
2022-06-14 06:49:40 +00:00
|
|
|
php-version: ${{ matrix.php_version }}
|
2021-05-09 20:15:43 +00:00
|
|
|
coverage: none
|
|
|
|
|
2022-06-14 06:49:40 +00:00
|
|
|
# wait for deploy to packagist
|
|
|
|
- run: sleep 40
|
2021-05-09 20:15:43 +00:00
|
|
|
|
2022-06-14 06:49:40 +00:00
|
|
|
-
|
|
|
|
run: composer install --ansi
|
|
|
|
working-directory: ${{ matrix.directory }}
|
2021-05-09 20:15:43 +00:00
|
|
|
|
2022-06-14 06:49:40 +00:00
|
|
|
-
|
|
|
|
run: vendor/bin/phpunit
|
|
|
|
working-directory: ${{ matrix.directory }}
|