File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ name : tests
2+
3+ on : ['push', 'pull_request']
4+
5+ jobs :
6+ run-tests :
7+ runs-on : ${{ matrix.os }}
8+ strategy :
9+ fail-fast : true
10+ matrix :
11+ os : [ ubuntu-latest ]
12+ php : [ 8.2, 8.3, 8.4 ]
13+ laravel : [ 10.*, 11.* ]
14+ stability : [ prefer-lowest, prefer-stable ]
15+
16+ name : tests P${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.dependency-version }} (Laravel ${{ matrix.laravel }})
17+
18+ steps :
19+ - name : checkout
20+ uses : actions/checkout@v4
21+
22+ - name : setup PHP
23+ uses : shivammathur/setup-php@v2
24+ with :
25+ php-version : ${{ matrix.php }}
26+ extensions : sqlite, pdo_sqlite, pdo
27+
28+ - name : install dependencies
29+ run : |
30+ composer install --no-interaction --prefer-dist
31+ composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
32+ composer update --${{ matrix.stability }} --no-interaction --prefer-dist --optimize-autoloader
33+
34+ - name : execute tests
35+ run : vendor/bin/pest --ci
You can’t perform that action at this time.
0 commit comments