File tree Expand file tree Collapse file tree 3 files changed +19
-12
lines changed Expand file tree Collapse file tree 3 files changed +19
-12
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,16 @@ jobs:
20
20
matrix :
21
21
php : [8.1, 8.2, 8.3]
22
22
laravel : [10, 11]
23
- phpunit : [10.5, '11.0']
23
+ phpunit : [10.5, 11]
24
+ include :
25
+ - php : 8.4
26
+ laravel : 11
27
+ phpunit : 11.3
24
28
exclude :
25
29
- php : 8.1
26
30
laravel : 11
27
31
- laravel : 10
28
- phpunit : ' 11.0 '
32
+ phpunit : 11
29
33
30
34
name : PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - PHPUnit ${{ matrix.phpunit }}
31
35
44
48
45
49
- name : Install dependencies
46
50
run : |
47
- composer update --prefer-dist --no-interaction --no-progress --with=illuminate/support :^${{ matrix.laravel }} --with=phpunit/phpunit:^${{ matrix.phpunit }}
51
+ composer update --prefer-dist --no-interaction --no-progress --with=laravel/framework :^${{ matrix.laravel }} --with=phpunit/phpunit:^${{ matrix.phpunit }}
48
52
49
53
- name : Upgrade Chrome Driver
50
54
run : php vendor/bin/testbench dusk:chrome-driver --detect
56
60
run : php vendor/bin/testbench serve --no-reload &
57
61
58
62
- name : Execute tests
59
- run : php vendor/bin/phpunit -c phpunit.dusk.xml.dist
63
+ run : php vendor/bin/phpunit -c phpunit.dusk.xml.dist --display-deprecations --fail-on-deprecation
60
64
env :
61
65
APP_URL : http://127.0.0.1:8000
Original file line number Diff line number Diff line change @@ -20,12 +20,16 @@ jobs:
20
20
matrix :
21
21
php : [8.1, 8.2, 8.3]
22
22
laravel : [10, 11]
23
- phpunit : [10.5, '11.0']
23
+ phpunit : [10.5, 11]
24
+ include :
25
+ - php : 8.4
26
+ laravel : 11
27
+ phpunit : 11.3
24
28
exclude :
25
29
- php : 8.1
26
30
laravel : 11
27
31
- laravel : 10
28
- phpunit : ' 11.0 '
32
+ phpunit : 11
29
33
30
34
name : PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - PHPUnit ${{ matrix.phpunit }}
31
35
@@ -44,20 +48,19 @@ jobs:
44
48
45
49
- name : Install dependencies
46
50
run : |
47
- composer require "illuminate/contracts:^${{ matrix.laravel }}" "phpunit/phpunit:^${{ matrix.phpunit }}" --dev --no-update
48
- composer update --prefer-dist --no-interaction --no-progress
51
+ composer update --prefer-dist --no-interaction --no-progress --with="laravel/framework:^${{ matrix.laravel }}" --with="phpunit/phpunit:^${{ matrix.phpunit }}"
49
52
50
53
- name : Execute tests
51
- run : vendor/bin/phpunit -c phpunit.xml.dist
54
+ run : vendor/bin/phpunit -c phpunit.xml.dist --display-deprecations --fail-on-deprecation
52
55
53
56
stub-tests :
54
57
runs-on : ubuntu-22.04
55
58
56
59
strategy :
57
60
fail-fast : true
58
61
matrix :
59
- php : [8.2]
60
- laravel : [10]
62
+ php : [8.2, 8.3, 8.4 ]
63
+ laravel : [10, 11 ]
61
64
62
65
name : Test Stubs PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
63
66
Original file line number Diff line number Diff line change 20
20
"guzzlehttp/guzzle" : " ^7.5" ,
21
21
"illuminate/console" : " ^10.0|^11.0" ,
22
22
"illuminate/support" : " ^10.0|^11.0" ,
23
- "php-webdriver/webdriver" : " ^1.9.0 " ,
23
+ "php-webdriver/webdriver" : " ^1.15.2 " ,
24
24
"symfony/console" : " ^6.2|^7.0" ,
25
25
"symfony/finder" : " ^6.2|^7.0" ,
26
26
"symfony/process" : " ^6.2|^7.0" ,
You can’t perform that action at this time.
0 commit comments