File tree 2 files changed +15
-4
lines changed
2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 1
- name : PHPUnit & PHPStan
1
+ name : PHPUnit
2
2
3
3
on : [push]
4
4
9
9
phpunit :
10
10
runs-on : ubuntu-latest
11
11
12
+ strategy :
13
+ matrix :
14
+ include :
15
+ - php : ' 8.0'
16
+ - php : ' 8.1'
17
+ - php : ' 8.2'
12
18
steps :
13
- - uses : actions/checkout@v3
19
+ - name : Checkout
20
+ uses : actions/checkout@v4
21
+ with :
22
+ fetch-depth : 2
14
23
15
24
- name : Copy .env
16
25
run : php -r "file_exists('.env') || copy('.env.example', '.env');"
25
34
- name : Setup PHP
26
35
uses : shivammathur/setup-php@v2
27
36
with :
28
- php-version : 8.0
37
+ coverage : " none"
38
+ php-version : " ${{ matrix.php }}"
39
+ tools : flex
29
40
30
41
- name : Install dependencies
31
42
run : composer install --prefer-dist --no-progress
Original file line number Diff line number Diff line change 1
- name : PHPUnit & PHPStan
1
+ name : Psalm
2
2
3
3
on : [push]
4
4
You can’t perform that action at this time.
0 commit comments