mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 14:27:14 +01:00
491915e31b
5595f80ed1
Update github actions/checkout from v3 to v4 (#4909)
39 lines
938 B
YAML
39 lines
938 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:
|
|
php_version: ['7.3']
|
|
directory:
|
|
- 'e2e/rector-prefixed-rule-test'
|
|
|
|
name: End to end test - ${{ matrix.directory }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: ${{ matrix.php_version }}
|
|
coverage: none
|
|
|
|
# wait for deploy to packagist
|
|
- run: sleep 40
|
|
|
|
-
|
|
run: composer install --ansi
|
|
working-directory: ${{ matrix.directory }}
|
|
|
|
-
|
|
run: vendor/bin/phpunit
|
|
working-directory: ${{ matrix.directory }}
|