Skip to content

Commit

Permalink
Merge pull request #306 from clue-labs/lelegacy
Browse files Browse the repository at this point in the history
Work around broken composer install for legacy PHP on Windows
  • Loading branch information
WyriHaximus committed Jun 6, 2023
2 parents 7da8a6b + c98419a commit bf11696
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -33,6 +33,8 @@ jobs:
php-version: ${{ matrix.php }}
coverage: xdebug
ini-file: development
- run: composer config secure-http false && composer config repo.packagist composer http://packagist.org && composer config preferred-install source
if: ${{ matrix.php < 5.5 && matrix.os == 'windows-2022' }} # legacy PHP on Windows is allowed to use insecure downloads until it will be removed again
- run: composer install
- run: vendor/bin/phpunit --coverage-text
if: ${{ matrix.php >= 7.3 }}
Expand Down

0 comments on commit bf11696

Please sign in to comment.