File tree Expand file tree Collapse file tree 2 files changed +51
-55
lines changed Expand file tree Collapse file tree 2 files changed +51
-55
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ pull_request :
6
+
7
+ jobs :
8
+ test :
9
+ runs-on : ubuntu-latest
10
+ name : PHPUnit Tests
11
+ strategy :
12
+ fail-fast : false
13
+ matrix :
14
+ php : [ '7.2', '7.3', '7.4', '8.0' ]
15
+ monolog : [ '1.*', '2.*' ]
16
+ include :
17
+ - php : ' 7.1'
18
+ - php : ' 7.4'
19
+ deps : lowest
20
+ deprecations : max[self]=0
21
+ steps :
22
+ - name : Checkout
23
+ uses : actions/checkout@v2
24
+
25
+ - name : Setup PHP
26
+ uses : shivammathur/setup-php@v2
27
+ with :
28
+ php-version : ${{ matrix.php }}
29
+ ini-values : zend.exception_ignore_args=false
30
+ tools : flex
31
+
32
+ - name : Configure composer
33
+ if : " ${{ matrix.deps == 'highest' }}"
34
+ run : composer config minimum-stability dev
35
+
36
+ - name : Require Monolog version
37
+ if : " ${{ matrix.monolog != '' }}"
38
+ run : composer require --no-update monolog/monolog:${{ matrix.monolog }}
39
+
40
+ - name : Composer install
41
+ uses : ramsey/composer-install@v1
42
+ with :
43
+ dependency-versions : ' ${{ matrix.deps }}'
44
+
45
+ - name : Install PHPUnit dependencies
46
+ run : vendor/bin/simple-phpunit install
47
+
48
+ - name : Run tests
49
+ run : vendor/bin/simple-phpunit -v --coverage-text
50
+ env :
51
+ SYMFONY_DEPRECATIONS_HELPER : ' ${{ matrix.deprecations }}'
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments