Skip to content

Commit

Permalink
Sync CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Nov 16, 2024
1 parent db71b07 commit 5fd44c4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ jobs:
if ${{ matrix.prefer-lowest == 'prefer-lowest' }}
then
composer update --prefer-lowest --prefer-stable
composer require --dev dereuromark/composer-prefer-lowest:dev-master
else
composer install --no-progress --prefer-dist --optimize-autoloader
fi
if ${{ matrix.prefer-lowest == 'prefer-lowest' }}; then composer require --dev dereuromark/composer-prefer-lowest:dev-master; fi
- name: Run PHPUnit
run: |
if [[ ${{ matrix.db-type }} == 'sqlite' ]]; then export DB_URL='sqlite:///:memory:'; fi
Expand All @@ -73,7 +73,8 @@ jobs:
vendor/bin/phpunit
fi
- name: Validate prefer-lowest
run: if ${{ matrix.prefer-lowest == 'prefer-lowest' }}; then vendor/bin/validate-prefer-lowest -m; fi
if: matrix.prefer-lowest == 'prefer-lowest
run: vendor/bin/validate-prefer-lowest -m

- name: Upload coverage reports to Codecov
if: success() && matrix.php-version == '8.1'
Expand Down

0 comments on commit 5fd44c4

Please sign in to comment.