Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[PhpUnitBridge] Composer-cache is not used #37652

Copy link
Copy link
Closed
@alexgit2k

Description

@alexgit2k
Issue body actions

Description
We are using docker images for running tests where the downloaded composer-packages are cached between
the docker images to reduce download time. However, the composer packages for PHP-Unit are not cached
and downloaded every time which increases the start-time over 30 seconds.

How to reproduce

mkdir test && cd test
export COMPOSER_CACHE_DIR=composer_cache/
composer require symfony/phpunit-bridge
vendor/bin/simple-phpunit --help

rm -rf vendor
composer require symfony/phpunit-bridge
vendor/bin/simple-phpunit --help

Possible Solution
Cache vendor/bin/.phpunit, but this is the final installation directory.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.