mirror of
https://github.com/Seldaek/monolog.git
synced 2025-09-08 20:20:40 +02:00
Upgrade to phpunit 10 (#1806)
Co-authored-by: Christopher Georg <christopher.georg@sr-travel.de>
This commit is contained in:
12
.github/workflows/continuous-integration.yml
vendored
12
.github/workflows/continuous-integration.yml
vendored
@@ -77,7 +77,7 @@ jobs:
|
||||
composer-options: "${{ matrix.composer-options }}"
|
||||
|
||||
- name: "Run tests"
|
||||
run: "composer exec phpunit -- --exclude-group Elasticsearch,Elastica --verbose"
|
||||
run: "composer exec phpunit -- --exclude-group Elasticsearch,Elastica"
|
||||
|
||||
- name: "Run tests with psr/log 3"
|
||||
if: "contains(matrix.dependencies, 'highest') && matrix.php-version >= '8.0'"
|
||||
@@ -85,7 +85,7 @@ jobs:
|
||||
composer remove --no-update --dev graylog2/gelf-php ruflin/elastica elasticsearch/elasticsearch rollbar/rollbar
|
||||
composer require --no-update psr/log:^3
|
||||
composer update ${{ matrix.composer-options }}
|
||||
composer exec phpunit -- --exclude-group Elasticsearch,Elastica --verbose
|
||||
composer exec phpunit -- --exclude-group Elasticsearch,Elastica
|
||||
|
||||
tests-es-7:
|
||||
name: "CI with ES ${{ matrix.es-version }} on PHP ${{ matrix.php-version }}"
|
||||
@@ -152,7 +152,7 @@ jobs:
|
||||
dependency-versions: "${{ matrix.dependencies }}"
|
||||
|
||||
- name: "Run tests"
|
||||
run: "composer exec phpunit -- --group Elasticsearch,Elastica --verbose"
|
||||
run: "composer exec phpunit -- --group Elasticsearch,Elastica"
|
||||
|
||||
- name: "Run tests with psr/log 3"
|
||||
if: "contains(matrix.dependencies, 'highest') && matrix.php-version >= '8.0'"
|
||||
@@ -161,7 +161,7 @@ jobs:
|
||||
composer require --no-update --no-interaction --dev ruflin/elastica elasticsearch/elasticsearch:^7
|
||||
composer require --no-update psr/log:^3
|
||||
composer update -W
|
||||
composer exec phpunit -- --group Elasticsearch,Elastica --verbose
|
||||
composer exec phpunit -- --group Elasticsearch,Elastica
|
||||
|
||||
tests-es-8:
|
||||
name: "CI with ES ${{ matrix.es-version }} on PHP ${{ matrix.php-version }}"
|
||||
@@ -230,11 +230,11 @@ jobs:
|
||||
dependency-versions: "${{ matrix.dependencies }}"
|
||||
|
||||
- name: "Run tests"
|
||||
run: "composer exec phpunit -- --group Elasticsearch,Elastica --verbose"
|
||||
run: "composer exec phpunit -- --group Elasticsearch,Elastica"
|
||||
|
||||
- name: "Run tests with psr/log 3"
|
||||
if: "contains(matrix.dependencies, 'highest') && matrix.php-version >= '8.0'"
|
||||
run: |
|
||||
composer require --no-update psr/log:^3
|
||||
composer update -W
|
||||
composer exec phpunit -- --group Elasticsearch,Elastica --verbose
|
||||
composer exec phpunit -- --group Elasticsearch,Elastica
|
||||
|
Reference in New Issue
Block a user