Skip to content

More E2E tests (semi-autogenerated) #149

More E2E tests (semi-autogenerated)

More E2E tests (semi-autogenerated) #149

Workflow file for this run

name: E2E
on:
pull_request:
jobs:
e2e:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- repo: https://github.com/contao-thememanager/core.git
name: contao-thememanager-core
- repo: https://github.com/contao/contao.git
name: contao-contao
- repo: https://github.com/idleberg/php-vite-manifest.git
name: idleberg-vite-manifest
- repo: https://github.com/idleberg/php-wordpress-vite-assets.git
name: idleberg-wordpress-vite-assets
- repo: https://github.com/inspirum/balikobot-php.git
name: inspirum-balikobot
- repo: https://github.com/inspirum/xml-php.git
name: inspirum-xml
- repo: https://github.com/janborg/contao-h4a_tabellen.git
name: janborg-contao-h4a_tabellen
- repo: https://github.com/kreait/firebase-php.git
name: kreait-firebase-php
- repo: https://github.com/numero2/contao-marketing-suite.git
name: numero2-contao-marketing-suite
- repo: https://github.com/numero2/contao-opengraph3.git
name: numero2-contao-opengraph3
- repo: https://github.com/numero2/contao-storelocator.git
name: numero2-contao-storelocator
- repo: https://github.com/oveleon/contao-company-bundle.git
name: oveleon-contao-company-bundle
- repo: https://github.com/oveleon/contao-cookiebar.git
name: oveleon-contao-cookiebar
- repo: https://github.com/oveleon/contao-recommendation-bundle.git
name: oveleon-contao-recommendation-bundle
- repo: https://github.com/rectorphp/rector-src.git
name: rector-rector-src
- repo: https://github.com/rectorphp/swiss-knife.git
name: rector-swiss-knife
- repo: https://github.com/sensiolabs/GotenbergBundle.git
name: sensiolabs-gotenberg-bundle
- repo: https://github.com/Setono/deployer-cron.git
name: setono-deployer-cron
- repo: https://github.com/Setono/deployer-dotenv.git
name: setono-deployer-dotenv
- repo: https://github.com/shipmonk-rnd/dead-code-detector.git
name: shipmonk-dead-code-detector
- repo: https://github.com/shipmonk-rnd/doctrine-mysql-index-hints.git
name: shipmonk-doctrine-mysql-index-hints
- repo: https://github.com/shipmonk-rnd/doctrine-mysql-optimizer-hints.git
name: shipmonk-doctrine-mysql-optimizer-hints
- repo: https://github.com/shipmonk-rnd/doctrine-two-phase-migrations.git
name: shipmonk-doctrine-two-phase-migrations
- repo: https://github.com/shipmonk-rnd/input-mapper.git
name: shipmonk-input-mapper
- repo: https://github.com/shipmonk-rnd/name-collision-detector.git
name: shipmonk-name-collision-detector
- repo: https://github.com/shipmonk-rnd/phpstan-baseline-per-identifier.git
name: shipmonk-phpstan-baseline-per-identifier
- repo: https://github.com/shipmonk-rnd/phpstan-rules.git
name: shipmonk-phpstan-rules
- repo: https://github.com/teamneusta/pimcore-testing-framework.git
name: teamneusta-pimcore-testing-framework
- repo: https://github.com/TomasVotruba/unused-public.git
name: tomasvotruba-unused-public
- repo: https://github.com/VincentLanglet/Twig-CS-Fixer.git
name: vincentlanglet-twig-cs-fixer
- repo: https://github.com/wallabag/wallabag.git
name: wallabag-wallabag
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.name }}
repository: ${{ matrix.repo }}
-
name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
-
name: Install analyser dependencies
working-directory: analyser
run: composer install --no-progress --no-interaction
-
name: Disable autoloader prepend
working-directory: ${{ matrix.name }}
run: |
echo "$(jq --indent 4 '.config += {"prepend-autoloader": false}' composer.json)" > composer.json
-
name: Install ${{ matrix.name }} dependencies
working-directory: ${{ matrix.name }}
run: composer install --no-progress --no-interaction --ignore-platform-reqs ${{ matrix.composerArgs }}
-
name: Run analyser
working-directory: ${{ matrix.name }}
run: php ../analyser/bin/composer-dependency-analyser ${{ matrix.cdaArgs }}