Skip to content

Commit

Permalink
Continue test suite when building PHAR fails on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
clue committed Jan 11, 2022
1 parent 1b3a564 commit c0da996
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,8 @@ jobs:
- run: vendor/bin/phpunit --coverage-text -c phpunit.xml.legacy
if: ${{ matrix.php < 7.3 }}
- run: cd tests/install-as-dep && composer install && php query.php
- run: cd tests/install-as-dep && php -d phar.readonly=0 vendor/bin/phar-composer build . query.phar && php query.phar
- run: cd tests/install-as-dep && php -d phar.readonly=0 vendor/bin/phar-composer build . query.phar
continue-on-error: ${{ matrix.os == 'windows-2019' }}
id: phar
- run: php tests/install-as-dep/query.phar
if: ${{ steps.phar.outcome == 'success' }}

0 comments on commit c0da996

Please sign in to comment.