File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 6
6
7
7
jobs :
8
8
PHPUnit :
9
+ name : PHPUnit (PHP ${{ matrix.php }} on ${{ matrix.os }})
9
10
runs-on : ${{ matrix.os }}
10
11
strategy :
11
12
matrix :
@@ -25,19 +26,15 @@ jobs:
25
26
- 5.4
26
27
steps :
27
28
- uses : actions/checkout@v2
28
- - name : Setup PHP
29
- uses : shivammathur/setup-php@v2
29
+ - uses : shivammathur/setup-php@v2
30
30
with :
31
31
php-version : ${{ matrix.php }}
32
32
extensions : sqlite3
33
+ coverage : xdebug
33
34
- run : composer install
34
35
- run : vendor/bin/phpunit --coverage-text
35
36
if : ${{ matrix.php >= 7.3 }}
36
37
- run : vendor/bin/phpunit --coverage-text -c phpunit.xml.legacy
37
38
if : ${{ matrix.php < 7.3 }}
38
39
- run : cd tests/install-as-dep && composer install && php query.php
39
- - run : cd tests/install-as-dep && php -d phar.readonly=0 vendor/bin/phar-composer build . query.phar
40
- continue-on-error : ${{ matrix.os == 'windows-2019' }}
41
- id : phar
42
- - run : php tests/install-as-dep/query.phar
43
- if : ${{ steps.phar.outcome == 'success' }}
40
+ - run : cd tests/install-as-dep && php -d phar.readonly=0 vendor/bin/phar-composer build . query.phar && php query.phar
Original file line number Diff line number Diff line change 3
3
"clue/reactphp-sqlite" : " *@dev"
4
4
},
5
5
"require-dev" : {
6
- "clue/phar-composer" : " ^1.0 "
6
+ "clue/phar-composer" : " ^1.4 "
7
7
},
8
8
"bin" : [
9
9
" query.php"
You can’t perform that action at this time.
0 commit comments