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:
fail-fast: false
matrix:
dependencies:
- highest
- locked
- lowest
operating-system:
- ubuntu-latest
- windows-latest
@@ -105,10 +109,11 @@ jobs:
GITHUB_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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"
with:
composer-options: --optimize-autoloader
dependency-versions: ${{ matrix.dependencies }}
- name: Run PHPUnit
run: php tools/phpunit