File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 1
1
name : Run tests
2
2
3
- on : [ push, pull_request ]
3
+ on :
4
+ - push
5
+ - pull_request
4
6
5
7
jobs :
6
8
php-tests :
9
11
strategy :
10
12
fail-fast : false
11
13
matrix :
12
- php : [ '8.1', '8.2', '8.3' ]
13
- laravel : [ '10.*', '11.*' ]
14
- stability : [ prefer-stable ]
14
+ php : ['8.1', '8.2', '8.3']
15
+ laravel : ['10.*', '11.*', '12.*' ]
16
+ stability : [prefer-stable]
15
17
exclude :
16
18
- laravel : 11.*
17
19
php : ' 8.1'
20
+ - laravel : 12.*
21
+ php : ' 8.1'
18
22
19
23
name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}
20
24
21
25
steps :
22
26
- name : Checkout code
23
27
uses : actions/checkout@v4
24
28
with :
25
- # Fetch 10 commits or Scrutinizer will throw
26
29
fetch-depth : 10
27
30
28
31
- name : Setup PHP
53
56
54
57
- name : Upload Scrutinizer coverage
55
58
uses : sudo-bot/action-scrutinizer@latest
56
- # Do not run this step on forked versions of the main repository (example: contributor forks)
57
- if : matrix.laravel == '10.*' && github.repository == 'swisnl/laravel-javascript-data-response'
59
+ if : " matrix.laravel == '10.*' && github.repository == 'swisnl/laravel-javascript-data-response'"
58
60
with :
59
- cli-args : " --format=php-clover coverage.clover --revision=${{ github.event.pull_request.head.sha || github.sha }}"
61
+ cli-args : --format=php-clover coverage.clover --revision=${{ github.event.pull_request.head.sha || github.sha }}
You can’t perform that action at this time.
0 commit comments