Skip to content

Update testDetectFalsyFunction #407

Update testDetectFalsyFunction

Update testDetectFalsyFunction #407

# 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"