File tree Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Original file line number Diff line number Diff line change 11name : run-tests
22
3- on : [push, pull_request]
3+ on :
4+ push :
5+ branches : [main, develop]
6+ pull_request :
7+ branches : [main, develop]
48
59jobs :
610 test :
711 runs-on : ${{ matrix.os }}
812 strategy :
913 fail-fast : true
1014 matrix :
11- os : [ubuntu-latest]
12- php : [8.0, 8.1, 8.2 ]
13- laravel : [9.*, 10.*]
14- stability : [prefer-stable]
15- exclude :
15+ os : [ubuntu-latest, windows-latest ]
16+ php : [8.1 ]
17+ laravel : [10.*]
18+ stability : [prefer-lowest, prefer- stable]
19+ include :
1620 - laravel : 10.*
17- php : 8.0
21+ testbench : 8.0
1822
1923 name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2024
3337 run : |
3438 echo "::add-matcher::${{ runner.tool_cache }}/php.json"
3539 echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
40+
3641 - name : Install dependencies
3742 run : |
38- composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
43+ composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
3944 composer update --${{ matrix.stability }} --prefer-dist --no-interaction
45+
4046 - name : Execute tests
41- run : vendor/bin/phpunit
47+ run : vendor/bin/pest
You can’t perform that action at this time.
0 commit comments