1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-29 16:00:27 +02:00

Build tweaks

This commit is contained in:
Jordi Boggiano
2020-12-09 16:54:31 +01:00
parent fd305da67b
commit ec146b38bd
7 changed files with 24 additions and 17 deletions

View File

@@ -27,6 +27,7 @@ jobs:
with:
coverage: "none"
php-version: "${{ matrix.php-version }}"
extensions: mongodb, redis, amqp
- name: Get composer cache directory
id: composercache
@@ -39,8 +40,12 @@ jobs:
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-composer-
- name: Add require for mongodb/mongodb to make tests runnable
run: 'composer require ${{ env.COMPOSER_FLAGS }} mongodb/mongodb --dev --no-update'
- name: "Install latest dependencies"
run: "composer update ${{ env.COMPOSER_FLAGS }}"
# --ignore-platform-req=php here needed as long as elasticsearch/elasticsearch does not support php 8
run: "composer update ${{ env.COMPOSER_FLAGS }} --ignore-platform-req=php"
- name: Run PHPStan
run: composer phpstan