diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 8681385..e4bd3cc 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -8,15 +8,13 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - php: [7.4, 7.3, 7.2] + php: [7.4] laravel: [7.*, 6.*] dependency-version: [prefer-lowest, prefer-stable] os: [ubuntu-latest] include: - laravel: 7.* - testbench: 5.* - laravel: 6.* - testbench: 4.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} @@ -38,7 +36,8 @@ jobs: - name: Install dependencies run: | - composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update + composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest + - name: Execute tests - run: vendor/bin/phpspec run + run: vendor/bin/pest