Test with multiple versions of the dependencies

This commit is contained in:
Fabien Villepinte
2021-12-21 15:50:16 +01:00
committed by GitHub
parent 647571f8e8
commit 33e88681c3
3 changed files with 8 additions and 3 deletions
+6 -1
View File
@@ -56,6 +56,10 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
dependencies:
- highest
- locked
- lowest
operating-system: operating-system:
- ubuntu-latest - ubuntu-latest
- windows-latest - windows-latest
@@ -105,10 +109,11 @@ jobs:
GITHUB_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: phive --no-progress install --copy --trust-gpg-keys ${{ env.phiveGPGKeys }} phpunit:^8.5 run: phive --no-progress install --copy --trust-gpg-keys ${{ env.phiveGPGKeys }} phpunit:^8.5
- name: Install Composer dependencies & cache dependencies - name: Install Composer ${{ matrix.dependencies }} dependencies & cache dependencies
uses: "ramsey/composer-install@v1" uses: "ramsey/composer-install@v1"
with: with:
composer-options: --optimize-autoloader composer-options: --optimize-autoloader
dependency-versions: ${{ matrix.dependencies }}
- name: Run PHPUnit - name: Run PHPUnit
run: php tools/phpunit run: php tools/phpunit
+1 -1
View File
@@ -21,7 +21,7 @@
"ext-filter": "*" "ext-filter": "*"
}, },
"require-dev": { "require-dev": {
"mockery/mockery": "~1.3.2", "mockery/mockery": "~1.3.5",
"psalm/phar": "^4.8" "psalm/phar": "^4.8"
}, },
"autoload": { "autoload": {
Generated
+1 -1
View File
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "f1e7818879f1626c05926f50c2c96f44", "content-hash": "cdb71071544df3fd9152739ccf987d83",
"packages": [ "packages": [
{ {
"name": "phpdocumentor/reflection-common", "name": "phpdocumentor/reflection-common",