Skip to content

simpler tests, focus only on dev as thats what checks in build #10

simpler tests, focus only on dev as thats what checks in build

simpler tests, focus only on dev as thats what checks in build #10

name: Compat Tests for global install for Rector
on:
pull_request: null
push:
branches:
- main
jobs:
compat_tests:
strategy:
fail-fast: false
matrix:
actions:
-
name: 'Rector dev + PHPUnit 12 global for Rector'
run: composer require --dev "rector/rector:dev-main" -W
php: 8.3
name: ${{ matrix.actions.name }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
-
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.actions.php }}
coverage: none
- uses: "ramsey/composer-install@v2"
- run: composer remove --dev phpunit/phpunit -W
- run: composer global require --dev "phpunit/phpunit:12.*" -W
- run: ${{ matrix.actions.run }}
- run: /home/runner/.composer/vendor/bin/phpunit tests/Rector
- run: /home/runner/.composer/vendor/bin/phpunit