Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test with the lowest possible dependencies as well #3

Merged
merged 5 commits into from
Jan 4, 2020
Merged

Test with the lowest possible dependencies as well #3

merged 5 commits into from
Jan 4, 2020

Conversation

svenluijten
Copy link
Contributor

We'll introduce --prefer-lowest as a Composer flag to run the tests against the lowest possible versions of all dependencies. This ensures maximum compatibility across as many versions as possible.

It does, however, triple the amount of tests that are run per workflow run.

@svenluijten
Copy link
Contributor Author

I'll have a look at the conflicts & failing tests (yay!) tomorrow, should just be some dependencies in composer.json that need updating. This might warrant a major version bump though, just FYI 🙂

svenluijten and others added 4 commits December 18, 2019 21:52
The orchestra/database dependency was removed in v3.4.1, but its service
provider was still being loaded. This was fixed in v3.4.2, so we'll
require that at minimum. See the release notes:

https://github.com/orchestral/testbench/releases/tag/v3.4.1
Since the prefer-stable option is already set to true in composer.json,
this flag won't have any added benefit. To reduce the build time (by a
third!), we'll remove it and only test with the '--prefer-lowest' flag,
and nothing.
@cwhite92
Copy link

cwhite92 commented Jan 4, 2020

thank you

@cwhite92 cwhite92 merged commit c6f0d1d into loglia:master Jan 4, 2020
@svenluijten svenluijten deleted the test-lowest-dependencies branch January 4, 2020 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants