Skip to content

Requiring wp-cli/wp-cli in composer.json slows down package tests #88

@danielbachhuber

Description

@danielbachhuber

In #26, we began adding a require statement to the package's composer.json:

image

The minimum version declaration is also used in wp package install, which will err if the minimum version isn't met.

However, because bin/install-package-tests.sh calls composer install --dev, WP-CLI is unnecessarily installed a second time via Composer:

image
https://travis-ci.org/wp-cli/find-command/jobs/209460745

We should get this fixed, and apply it to all of the packages.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions