File tree Expand file tree Collapse file tree 2 files changed +44
-17
lines changed Expand file tree Collapse file tree 2 files changed +44
-17
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ - pull_request
3
+ - push
4
+
5
+ name : CI
6
+
7
+ jobs :
8
+ tests :
9
+ name : Tests
10
+
11
+ runs-on : ${{ matrix.os }}
12
+
13
+ strategy :
14
+ matrix :
15
+ os :
16
+ - ubuntu-latest
17
+ - windows-latest
18
+
19
+ php :
20
+ - " 7.3"
21
+ - " 7.4"
22
+ - " 8.0"
23
+
24
+ steps :
25
+ - name : Checkout
26
+ uses : actions/checkout@v2
27
+
28
+ - name : Install PHP with extensions
29
+ uses : shivammathur/setup-php@v2
30
+ with :
31
+ php-version : ${{ matrix.php }}
32
+ extensions : dom, json, mbstring
33
+ ini-values : assert.exception=1, zend.assertions=1
34
+
35
+ - name : Install composer dependencies ignoring platform requirements
36
+ if : matrix.php == '8.0'
37
+ run : composer install --no-ansi --no-interaction --no-progress --no-suggest --ignore-platform-reqs
38
+
39
+ - name : Install composer dependencies
40
+ if : matrix.php != '8.0'
41
+ run : composer update --no-ansi --no-interaction --no-progress --no-suggest
42
+
43
+ - name : Run tests with phpunit
44
+ run : vendor/bin/phpunit --coverage-clover=coverage.xml
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments