-
Notifications
You must be signed in to change notification settings - Fork 75
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 GitHub actions for Continuous Integration tests #89
Conversation
8744814
to
ef6d1df
Compare
Note: apparently a running MySQL service is not needed to run our tests
825ac32
to
9eb0aa2
Compare
Poke @alquerci @Tybaze and @xNatek as you are the ones that mainly worked on the PHP v8.x compatibility Notes:
|
@thePanz I do not know GitHub actions environment, is it possible to execute GitHub actions environment is not controlled. We should not depend on an external service to dictate the test environment. The CI is a detail, we should be able to change it without changing the test code.
After removing db service on docker-compose, tests failed.
Indeed. |
@alquerci feels weird that the GitHub Actions has a mysql service up and running. All the current action is doing is In the meantime, do you check by runnning the current HEAD code from this repository that the changes are still working ok with your docker setup? |
Yes, that exactly what I do when I tested your hypothesis. All green. |
The Ubuntu22.04 image contains Mysql by default, but it need to be started Here the image install script which should disabled it in systemd I have tested the command on a fresh Ubuntu 22.04 and it stop and disable mysql, I confirm, that some Doctrine1 Test, require mysql with : user:root password:password But Mysql on Ubuntu22.04 use the plugin "auth_socket" which allow any connection from the socket, so without configuring any credentials, so Doctrine test with root:password works Ubuntu images configure Mysql to root:root but it's pretty uselesss without changing the "auth_socket". I have run the test on docker, all green too ! |
Thanks @Tybaze , maybe systemd is starting the service as soon the socket is used. I recall reading something like that for another service, but can't remember where nor any link to it. So,
|
No description provided.