Skip to content

Commit

Permalink
Fix: Require phpunit/phpunit only when dependencies are not locked
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Feb 23, 2024
1 parent 7c99554 commit 76b7e33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/integrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ jobs:
restore-keys: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-"

- name: "Require phpunit/phpunit"
if: "matrix.dependencies != 'locked'"
run: "composer require --ansi --dev phpunit/phpunit:^${{ matrix.phpunit-version }} --update-with-dependencies"

- name: "Install ${{ matrix.dependencies }} dependencies with composer"
Expand Down

0 comments on commit 76b7e33

Please sign in to comment.