also looking at this
Implement Tests
#8
6 files
+16
-18
Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.
| @@ -9,16 +9,14 @@ jobs: | ||
| 9 | 9 | fail-fast: true |
| 10 | 10 | matrix: |
| 11 | 11 | os: [ubuntu-latest, windows-latest] |
| 12 | php: [7.2, 7.3, 7.4, 8.0] | |
| 13 | laravel: [6.*, 7.*, 8.*] | |
| 12 | php: [7.3, 7.4, 8.0] | |
| 13 | laravel: [7.*, 8.*] | |
| 14 | 14 | dependency-version: [prefer-stable] |
| 15 | 15 | include: |
| 16 | 16 | - laravel: 8.* |
| 17 | 17 | testbench: 6.* |
| 18 | 18 | - laravel: 7.* |
| 19 | 19 | testbench: 5.* |
| 20 | - laravel: 6.* | |
| 21 | testbench: 4.* | |
| 22 | 20 | |
| 23 | 21 | name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} |
| 24 | 22 | |
| @@ -41,7 +39,8 @@ jobs: | ||
| 41 | 39 | |
| 42 | 40 | - name: Install dependencies |
| 43 | 41 | run: | |
| 44 | composer install | |
| 42 | composer require "laravel/framework:$" "orchestra/testbench:$" --no-interaction --no-update | |
| 43 | composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest | |
| 45 | 44 | |
| 46 | 45 | - name: Execute tests |
| 47 | 46 | run: vendor/bin/pest |