File tree Expand file tree Collapse file tree 2 files changed +53
-36
lines changed Expand file tree Collapse file tree 2 files changed +53
-36
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ [push, pull_request]
5
+
6
+ jobs :
7
+ test :
8
+ name : Test on ${{ matrix.php-versions }} PHP
9
+ runs-on : ubuntu-latest
10
+
11
+ strategy :
12
+ matrix :
13
+ php-versions : ['7.1', '7.2', '7.3', '7.4']
14
+
15
+ steps :
16
+ - uses : actions/checkout@v2
17
+
18
+ - name : Setup PHP
19
+ uses : shivammathur/setup-php@v2
20
+ with :
21
+ php-version : ${{ matrix.php-versions }}
22
+ coverage : xdebug
23
+
24
+ - name : Install Composer Dependencies
25
+ uses : ramsey/composer-install@v1
26
+
27
+ - name : Run phpunit
28
+ run : vendor/bin/phpunit --verbose --coverage-text
29
+
30
+ roave_bc_check :
31
+ name : Roave BC Check
32
+ runs-on : ubuntu-latest
33
+ steps :
34
+ - uses : actions/checkout@v2
35
+
36
+ - name : Roave BC Check
37
+ uses : docker://nyholm/roave-bc-check-ga
38
+
39
+ phpstan :
40
+ runs-on : ubuntu-latest
41
+
42
+ steps :
43
+ - uses : actions/checkout@v2
44
+
45
+ - uses : shivammathur/setup-php@v2
46
+ with :
47
+ php-version : 7.1
48
+
49
+ - name : Install Composer Dependencies
50
+ uses : ramsey/composer-install@v1
51
+
52
+ - name : Run phpstan
53
+ run : vendor/bin/phpstan analyse --no-progress
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments