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

Use Docker for all unit testing #8

Open
TomHAnderson opened this issue Aug 8, 2020 · 0 comments
Open

Use Docker for all unit testing #8

TomHAnderson opened this issue Aug 8, 2020 · 0 comments

Comments

@TomHAnderson
Copy link
Contributor

Feature Request

Q A
New Feature yes
RFC no
BC Break no

RFC

https://discourse.laminas.dev/t/rfc-use-docker-for-unit-testing/1774

Summary

Testing of this repository currently requires an installation of Mongo. The developer should not be expected to maintain such an installation on their machine in order to run unit tests. I am proposing all unit testing be moved to Docker. This may be done in two stages.

During this change the minimum version of PHP will be moved to 7.3 for reasons including composer no longer support PHP 5.6.

Stages

Stage 1 is required but stage 2 is only necessary if those involved want to proceed.

  1. Change running of phpunit to use a docker image. Maintain Travis CI testing as-is.
  2. Change Travis CI testing to use Docker and build images in the same process as the phpunit image.
Note

This is not the first time I've made this proposal. I am proposing it again so the [new] Laminas requirements for new features can be followed and by doing so I expect to bring in the involvement of the maintainer(s) of this repository.

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

No branches or pull requests

1 participant