File tree 2 files changed +33
-18
lines changed
2 files changed +33
-18
lines changed Original file line number Diff line number Diff line change
1
+ name : Provider
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ jobs :
10
+ test :
11
+ name : PHP ${{ matrix.php-version }}
12
+ runs-on : ubuntu-latest
13
+ strategy :
14
+ fail-fast : false
15
+ matrix :
16
+ php-version : ['7.3', '7.4', '8.0']
17
+ steps :
18
+ - uses : actions/checkout@v2
19
+ - name : Use PHP ${{ matrix.php-version }}
20
+ uses : shivammathur/setup-php@v2
21
+ with :
22
+ php-version : ${{ matrix.php-version }}
23
+ extensions : curl
24
+ - name : Validate composer.json and composer.lock
25
+ run : composer validate --strict
26
+ - name : Install dependencies
27
+ run : composer update --prefer-stable --prefer-dist --no-progress
28
+ - name : Run test suite
29
+ run : composer run-script test-ci
30
+ - name : Upload Coverage report
31
+ run : |
32
+ wget https://scrutinizer-ci.com/ocular.phar
33
+ php ocular.phar code-coverage:upload --format=php-clover build/coverage.xml
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments