diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9ef71b2..e0caa98 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -136,40 +136,3 @@ jobs: with: name: 'PHP ${{ matrix.php }}' path: 'clover.xml' - - unit-lowest: - name: 'Run unit tests with lowest-matching dependencies versions' - if: "!contains(github.event.commits[0].message, '[skip ci]') && !contains(github.event.commits[0].message, '[ci skip]')" - runs-on: 'ubuntu-20.04' - - steps: - - name: 'Checkout current revision' - uses: 'actions/checkout@v3' - - - name: 'Setup PHP' - uses: 'shivammathur/setup-php@v2' - with: - php-version: '7.4' - tools: 'composer' - - - name: 'Discover Composer cache directory' - id: 'cachedir' - run: 'echo "::set-output name=path::$(composer global config cache-dir)"' - - - name: 'Share Composer cache across runs' - uses: 'actions/cache@v3' - with: - path: '${{ steps.cachedir.outputs.path }}' - key: "composer-lowest-${{ hashFiles('**/composer.json') }}" - restore-keys: | - composer-lowest- - composer- - - - name: 'Update dependencies with Composer' - run: 'composer update --prefer-lowest --prefer-dist --no-interaction' - - - name: 'Dump Composer autoloader' - run: 'composer dump-autoload --classmap-authoritative --no-cache' - - - name: 'Run PHPUnit' - run: 'vendor/bin/phpunit'