mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 14:27:14 +01:00
d56e7982d0
dedd4b55fe
make node_helper.php safe for similar names
38 lines
925 B
YAML
38 lines
925 B
YAML
name: Standalone Rule Test
|
|
|
|
on:
|
|
pull_request: null
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
standalone_rule_test:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
actions:
|
|
-
|
|
name: 'Rector Prefixed'
|
|
run: composer require rector/rector:dev-main --dev
|
|
|
|
steps:
|
|
# see https://github.com/rectorphp/rector-prefixed-rule-test
|
|
-
|
|
uses: actions/checkout@v2
|
|
with:
|
|
repository: rectorphp/rector-prefixed-rule-test
|
|
|
|
- uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: '7.3'
|
|
coverage: none
|
|
|
|
- uses: "ramsey/composer-install@v1"
|
|
|
|
- run: ${{ matrix.actions.run }}
|
|
|
|
- run: vendor/bin/phpunit
|