Skip to content

Commit c0da996

Browse files
committed
Continue test suite when building PHAR fails on Windows
1 parent 1b3a564 commit c0da996

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,8 @@ jobs:
3636
- run: vendor/bin/phpunit --coverage-text -c phpunit.xml.legacy
3737
if: ${{ matrix.php < 7.3 }}
3838
- 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 && php query.phar
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' }}

0 commit comments

Comments
 (0)