Skip to content

Commit fd03393

Browse files
authored
Merge pull request #319 from villfa/ci/dep-improvement
Test with multiple versions of the dependencies
2 parents 647571f + 33e8868 commit fd03393

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.github/workflows/push.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ jobs:
5656
strategy:
5757
fail-fast: false
5858
matrix:
59+
dependencies:
60+
- highest
61+
- locked
62+
- lowest
5963
operating-system:
6064
- ubuntu-latest
6165
- windows-latest
@@ -105,10 +109,11 @@ jobs:
105109
GITHUB_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
106110
run: phive --no-progress install --copy --trust-gpg-keys ${{ env.phiveGPGKeys }} phpunit:^8.5
107111

108-
- name: Install Composer dependencies & cache dependencies
112+
- name: Install Composer ${{ matrix.dependencies }} dependencies & cache dependencies
109113
uses: "ramsey/composer-install@v1"
110114
with:
111115
composer-options: --optimize-autoloader
116+
dependency-versions: ${{ matrix.dependencies }}
112117

113118
- name: Run PHPUnit
114119
run: php tools/phpunit

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"ext-filter": "*"
2222
},
2323
"require-dev": {
24-
"mockery/mockery": "~1.3.2",
24+
"mockery/mockery": "~1.3.5",
2525
"psalm/phar": "^4.8"
2626
},
2727
"autoload": {

composer.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)