diff --git a/.github/workflows/laravel-tests.yml b/.github/workflows/laravel-tests.yml index bda08c1..44890d4 100644 --- a/.github/workflows/laravel-tests.yml +++ b/.github/workflows/laravel-tests.yml @@ -7,42 +7,6 @@ on: - cron: '0 0 * * *' jobs: - tests-on-php71: - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - php: [7.1] - laravel: [5.8, 5.7, 5.6, 5.5] - - name: PHP${{ matrix.php }} with Laravel ${{ matrix.laravel }} - - steps: - - name: Checkout code - uses: actions/checkout@v1 - - - name: Cache dependencies - uses: actions/cache@v2 - with: - path: ~/.composer/cache/files - key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }} - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php }} - extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath - coverage: none - - - name: Install dependencies - run: | - composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update - composer update --prefer-dist --no-interaction --no-suggest - - name: Execute tests - run: vendor/bin/phpunit --exclude-group=redis-auth - env: - REDIS_HOST: redis - tests-on-php72: runs-on: ubuntu-latest strategy: @@ -75,9 +39,7 @@ jobs: composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update composer update --prefer-dist --no-interaction --no-suggest - name: Execute tests - run: vendor/bin/phpunit --exclude-group=redis-auth - env: - REDIS_HOST: redis + run: vendor/bin/phpunit tests-on-php73: @@ -112,9 +74,7 @@ jobs: composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update composer update --prefer-dist --no-interaction --no-suggest - name: Execute tests - run: vendor/bin/phpunit --exclude-group=redis-auth - env: - REDIS_HOST: redis + run: vendor/bin/phpunit tests-on-php74: runs-on: ubuntu-latest @@ -148,6 +108,4 @@ jobs: composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update composer update --prefer-dist --no-interaction --no-suggest - name: Execute tests - run: vendor/bin/phpunit --exclude-group=redis-auth - env: - REDIS_HOST: redis + run: vendor/bin/phpunit diff --git a/composer.json b/composer.json index ea53eb3..b862242 100644 --- a/composer.json +++ b/composer.json @@ -24,8 +24,7 @@ "thecodingmachine/discovery": "^1.2" }, "require-dev": { - "orchestra/testbench": "^3.6|^3.7|^3.8|^4.0|^5.0", - "phpunit/phpunit": "^7.0|^8.0|^9.0", + "orchestra/testbench": "^3.5 || ^4.0 || ^5.0", "mockery/mockery": "^1.0" }, "autoload": {