Updated Rector to commit aab20924ebf0d368a08dcc093623007055e1c749 #6554
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This workflow runs system tests: Use the Rector application from the source | |
| # checkout to process "fixture" projects in tests/system-tests | |
| # to see if those can be processed successfully | |
| name: End to End tests that expect diff | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| end_to_end_with_diff: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php_version: ['7.4', '8.0', '8.1'] | |
| directory: | |
| - 'e2e/attributes' | |
| name: Tests with diffs on PHP ${{ matrix.php_version }} - ${{ matrix.directory }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php_version }} | |
| coverage: none | |
| - | |
| run: composer require rector/rector:dev-main --dev | |
| working-directory: ${{ matrix.directory }} | |
| - | |
| run: vendor/bin/rector process --ansi | |
| working-directory: ${{ matrix.directory }} |