Update testDetectFalsyFunction #407
Workflow file for this run
This file contains 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
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions | |
name: "Rector Continuous Integration" | |
on: | |
- "pull_request" | |
- "push" | |
jobs: | |
rector-continuous-integration: | |
name: "Check if refactoring can be done with rector/rector" | |
runs-on: "ubuntu-latest" | |
strategy: | |
matrix: | |
php-version: | |
- "8.0" | |
dependencies: | |
- "highest" | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@v2" | |
- name: "Install PHP with extensions" | |
uses: "shivammathur/setup-php@v2" | |
with: | |
php-version: "${{ matrix.php-version }}" | |
- name: "Composer install" | |
run: "composer install && composer rector && composer test" | |
working-directory: "generator/tests/rector" | |
- name: "Run rector" | |
run: "composer rector" | |
working-directory: "generator/tests/rector" | |
- name: "Run tests" | |
run: "composer test" | |
working-directory: "generator/tests/rector" | |