File tree Expand file tree Collapse file tree 2 files changed +72
-0
lines changed Expand file tree Collapse file tree 2 files changed +72
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : TestListener
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
8
+
9
+ jobs :
10
+ php_tests :
11
+ runs-on : ${{ matrix.os }}
12
+
13
+ strategy :
14
+ fail-fast : false
15
+ matrix :
16
+ os :
17
+ - ubuntu-18.04
18
+ php :
19
+ - 7.2
20
+ - 7.3
21
+ - 7.4
22
+ - 8.0
23
+ include :
24
+ -
25
+ os : ubuntu-18.04
26
+ php : 7.2
27
+ tools : phpstan, phpunit
28
+ -
29
+ os : ubuntu-18.04
30
+ php : 7.3
31
+ tools : phpstan, phpunit
32
+ -
33
+ os : ubuntu-18.04
34
+ php : 7.4
35
+ tools : phpstan, phpunit
36
+ -
37
+ os : ubuntu-18.04
38
+ php : 8.0
39
+ tools : phpstan, phpunit
40
+
41
+ name : " Test with PHP ${{ matrix.php }} on ${{ matrix.os }}"
42
+
43
+ steps :
44
+ -
45
+ name : Checkout
46
+ uses : actions/checkout@v2
47
+
48
+ -
49
+ name : Setup PHP
50
+ uses : shivammathur/setup-php@v2
51
+ with :
52
+ php-version : ${{ matrix.php }}
53
+ tools : ${{ matrix.tools }}
54
+
55
+ -
56
+ name : Install Composer dependencies
57
+ uses : " ramsey/composer-install@v1"
58
+ with :
59
+ dependency-versions : " highest"
60
+ composer-options : " --prefer-dist"
61
+
62
+ -
63
+ name : Static Analysis
64
+ run : phpstan analyse --ansi
65
+
66
+ -
67
+ name : TestListener with Printer logger
68
+ run : phpunit -c examples/phpunit.printer.xml
Original file line number Diff line number Diff line change
1
+ parameters:
2
+ level: 1
3
+ paths:
4
+ - src/
You can’t perform that action at this time.
0 commit comments