rector/.github/workflows/e2e_global.yaml
Tomas Votruba a020925efc Updated Rector to commit 1c64bb1fb0
1c64bb1fb0 [CI] shorten waiting times for packagist and deploy to speed-up process
2022-06-06 09:42:21 +00:00

41 lines
1.1 KiB
YAML

name: End to End global tests
on:
pull_request: null
push:
branches:
- main
jobs:
end_to_end:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php_version: ['7.2', '7.3', '7.4', '8.0', '8.1']
directory:
- 'e2e/global-install'
name: End to end test - ${{ matrix.directory }}
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php_version }}
coverage: none
# wait for deploy to packagist
- run: sleep 40
-
run: |
composer global require --dev rector/rector:dev-main
composer install --ansi
working-directory: ${{ matrix.directory }}
-
run: /home/runner/.composer/vendor/bin/rector process --ansi --clear-cache
working-directory: ${{ matrix.directory }}