-
Notifications
You must be signed in to change notification settings - Fork 274
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
Enable CI builds with postgresql and mariadb #631
Conversation
Hey @zorun what should we do with this? Was it working? Should we merge it, or close it? Thanks for the heads up! |
Hey, sorry for leaving this in a WIP state. I just rebased it (it needed some manual fix-up). As far as I remember, it wasn't merged because the tests were failing with mysql (see #632). We need to fix that issue before merging, otherwise all PRs would appear to be faulty. |
This should fail (because I explictly trigger a known bug): https://travis-ci.org/github/spiral-project/ihatemoney/builds/757617787 This is supposed to work but will probably fail because of #632 : https://travis-ci.org/github/spiral-project/ihatemoney/builds/757618257 |
Hey, if the tests are failing with this, and it's the expected behavior, then I think we should merge it and fix the bug that this points out. Right? So, merge time? |
73507cd
to
15adc2e
Compare
Well, it depends if fixing the MySQL bug takes 1 day or 1 year :) If we merge this while not fixing the bug, all pull requests will have failing CI. It's not very nice for people proposing patches. |
Is it possible to replace |
82f8175
to
0d7e883
Compare
8efe921
to
48fadcd
Compare
I've added support for the github CI, and switched to mariadb instead of mysql. I'm not 100% satisfied, because the postgresql and mysql containers are started in all jobs (even those using sqlite). But it only means that the CI is a bit longer than necessary, and fixing it would involve writing multiple actions with some kind of inheritance, and I'm too lazy to learn how to do that. So, it's good to go for a review @Glandos ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment on .travis.yml
Uh, weird, I just rebased and there's a new postgresql error:
|
This is still a WIP to see if it works.