Fix the workflow for PSR-7 libraries
Ref: 3b4b4e287a
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
parent
9a68412f4d
commit
98cd2ab1de
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
@ -199,11 +199,9 @@ jobs:
|
||||
php-version: ['7.2']
|
||||
os: [ubuntu-latest]
|
||||
php-extensions: ['mbstring, iconv, mysqli, zip, bz2']
|
||||
psr-7-library: ['guzzlehttp/psr7']
|
||||
psr-7-library: ['guzzlehttp/psr7', 'slim/psr7', 'nyholm/psr7']
|
||||
include:
|
||||
- {psr-7-library: 'laminas/laminas-diactoros', php-version: '7.4'}
|
||||
# https://github.com/slimphp/Slim-Psr7/issues/284
|
||||
- {psr-7-library: 'slim/psr7', php-version: '7.3'}
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
@ -230,7 +228,7 @@ jobs:
|
||||
dependency-versions: highest
|
||||
|
||||
- name: Remove default PSR-7 implementation
|
||||
run: composer remove nyholm/psr7
|
||||
run: composer remove slim/psr7
|
||||
|
||||
- name: Add PSR-7 implementation
|
||||
run: composer require ${{ matrix.psr-7-library }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user