Introduce FileNode to handle file-level changes #610
Workflow file for this run
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 e2e/ directory | |
| # to see if those can be processed successfully | |
| name: End to End tests with no diffs | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| env: | |
| # see https://github.com/composer/composer/issues/9368#issuecomment-718112361 | |
| COMPOSER_ROOT_VERSION: "dev-main" | |
| jobs: | |
| end_to_end: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 3 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php_version: ['8.2'] | |
| directory: | |
| - 'e2e/applied-rule-removed-node-no-diffs' | |
| 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 | |
| # run in root rector-src | |
| - run: composer install --ansi | |
| # run in e2e subdir | |
| - | |
| run: composer install --ansi | |
| working-directory: ${{ matrix.directory }} | |
| # run e2e test | |
| - run: php ../e2eTestRunner.php --no-diffs | |
| working-directory: ${{ matrix.directory }} |