You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make build runs fine, but make install fails due to pest defaulting to version 1.0.0:
Composer could not detect the root package (pestphp/pest) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version
No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- pestphp/pest is present at version 1.0.0+no-version-set and cannot be modified by Composer
- pestphp/pest-plugin[v2.1.1, ..., 2.x-dev] conflict with pestphp/pest <2.2.3.
- Root composer.json requires pestphp/pest-plugin ^2.1.1 -> satisfiable by pestphp/pest-plugin[v2.1.1, 2.x-dev].
make: *** [Makefile:11: install] Error 2
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a clone of pest (2.x branch), and I'm trying to run the tests locally using the docker method from https://github.com/pestphp/pest/blob/2.x/CONTRIBUTING.md
make build
runs fine, butmake install
fails due to pest defaulting to version 1.0.0:If I set the version in the composer file to match the https://github.com/pestphp/pest/blob/2.x/src/Pest.php#L9 the install completes.
Running
make test
gets to> php bin/pest --type-coverage --min=100
which then fails with out of memory:If I try to run just the pest tests, the dataset on hook / describe tests do not parse:
Am I doing something wrong here, or is there a/multiple problem(s)?
Beta Was this translation helpful? Give feedback.
All reactions