Skip to content

Commit

Permalink
Add token
Browse files Browse the repository at this point in the history
  • Loading branch information
weitzman committed Apr 4, 2024
1 parent 75fd798 commit 84f04f7
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ jobs:
coverage: pcov
extensions: ${{ env.PHP_EXTENSIONS }}
ini-values: ${{ matrix.php-ini-values }}
# https://github.com/composer/composer/issues/9084#issuecomment-752134788https://github.com/composer/composer/issues/9084#issuecomment-752134788
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Determine composer cache directory on Linux
if: matrix.os == 'ubuntu-latest'
Expand All @@ -130,11 +133,11 @@ jobs:
- name: Clear platform php configuration in case we need to update phpunit
run: composer config --unset platform.php

- name: Update phpunit if dependencies are locked in case phpunit version in lock file is not compatible
if: matrix.dependencies == 'locked'
run: |
composer install --no-ansi --no-interaction --no-progress
composer update --no-ansi --no-interaction --no-progress phpunit/phpunit --with-all-dependencies
# - name: Update phpunit if dependencies are locked in case phpunit version in lock file is not compatible
# if: matrix.dependencies == 'locked'
# run: |
# composer install --no-ansi --no-interaction --no-progress
# composer update --no-ansi --no-interaction --no-progress phpunit/phpunit --with-all-dependencies

- name: Install lowest dependencies with composer
if: matrix.dependencies == 'lowest'
Expand Down

0 comments on commit 84f04f7

Please sign in to comment.