E2E: refresh, keep only green setup #166
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
name: E2E | |
on: | |
pull_request: | |
jobs: | |
e2e: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- | |
repo: TomasVotruba/unused-public | |
- | |
repo: VincentLanglet/Twig-CS-Fixer | |
- | |
repo: alex-kalanis/kw_files | |
- | |
repo: alex-kalanis/kw_paths | |
- | |
repo: alex-kalanis/kw_storage | |
- | |
repo: cdn77/PhpFunctions | |
- | |
repo: cdn77/RabbitMQBundle | |
- | |
repo: contao/contao | |
cdaArgs: --disable-ext-analysis --config=depcheck.php | |
- | |
repo: idleberg/php-vite-manifest | |
cdaArgs: --disable-ext-analysis | |
- | |
repo: idleberg/php-wordpress-vite-assets | |
- | |
repo: inspirum/arrayable-php | |
- | |
repo: inspirum/balikobot-php | |
cdaArgs: --disable-ext-analysis | |
- | |
repo: inspirum/balikobot-php-symfony | |
- | |
repo: inspirum/xml-php | |
cdaArgs: --disable-ext-analysis | |
- | |
repo: kreait/firebase-php | |
- | |
repo: numero2/contao-marketing-suite | |
cdaArgs: --disable-ext-analysis --config=depcheck.php | |
- | |
repo: numero2/contao-opengraph3 | |
cdaArgs: --config=depcheck.php | |
- | |
repo: oveleon/contao-company-bundle | |
composerArgs: --no-plugins | |
cdaArgs: --config=depcheck.php | |
- | |
repo: oveleon/contao-config-driver-bundle | |
composerArgs: --no-plugins | |
cdaArgs: --config=depcheck.php | |
- | |
repo: oveleon/contao-cookiebar | |
composerArgs: --no-plugins | |
cdaArgs: --disable-ext-analysis --config=depcheck.php | |
- | |
repo: oveleon/contao-glossary-bundle | |
composerArgs: --no-plugins | |
cdaArgs: --disable-ext-analysis --config=depcheck.php | |
- | |
repo: oveleon/contao-theme-compiler-bundle | |
composerArgs: --no-plugins | |
cdaArgs: --disable-ext-analysis --config=depcheck.php | |
- | |
repo: phpstan/phpstan-src | |
cdaArgs: --config=build/composer-dependency-analyser.php | |
- | |
repo: qossmic/deptrac-src | |
- | |
repo: rectorphp/rector-src | |
- | |
repo: rectorphp/swiss-knife | |
- | |
repo: sensiolabs/GotenbergBundle | |
- | |
repo: shapecode/cron-bundle | |
- | |
repo: shipmonk-rnd/dead-code-detector | |
- | |
repo: shipmonk-rnd/doctrine-entity-preloader | |
- | |
repo: shipmonk-rnd/doctrine-hint-driven-sql-walker | |
- | |
repo: shipmonk-rnd/doctrine-mysql-index-hints | |
- | |
repo: shipmonk-rnd/doctrine-mysql-optimizer-hints | |
- | |
repo: shipmonk-rnd/doctrine-two-phase-migrations | |
- | |
repo: shipmonk-rnd/input-mapper | |
- | |
repo: shipmonk-rnd/name-collision-detector | |
- | |
repo: shipmonk-rnd/phpstan-rules | |
- | |
repo: symplify/config-transformer | |
- | |
repo: teamneusta/pimcore-testing-framework | |
- | |
repo: wallabag/wallabag | |
cdaArgs: --disable-ext-analysis | |
fail-fast: false | |
steps: | |
- | |
name: Install jq | |
run: sudo apt install jq | |
- | |
name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
path: analyser | |
- | |
name: Clone ${{ matrix.repo }} | |
uses: actions/checkout@v4 | |
with: | |
path: ${{ matrix.repo }} | |
repository: ${{ matrix.repo }} | |
- | |
name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.3 | |
ini-file: development | |
- | |
name: List enabled extensions | |
run: php -m | |
- | |
name: Install analyser dependencies | |
working-directory: analyser | |
run: composer install --no-progress --no-interaction | |
- | |
name: Disable autoloader prepend | |
working-directory: ${{ matrix.repo }} | |
run: | | |
echo "$(jq --indent 4 '.config += {"prepend-autoloader": false}' composer.json)" > composer.json | |
- | |
name: Install ${{ matrix.repo }} dependencies | |
working-directory: ${{ matrix.repo }} | |
run: composer install --no-progress --no-interaction --ignore-platform-reqs ${{ matrix.composerArgs }} | |
- | |
name: Run analyser | |
working-directory: ${{ matrix.repo }} | |
run: php ../../analyser/bin/composer-dependency-analyser --show-all-usages ${{ matrix.cdaArgs }} |