-
Notifications
You must be signed in to change notification settings - Fork 154
GitHub actions #370
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
GitHub actions #370
Conversation
I'm really excited about this! For our app, we've been using this to start mongodb:
I'm wondering if this might help solve the problem where the tests are failing b/c they can't connect to Mongodb. |
Thanks I am too! I think it's going to help us a lot to accept changes going forward.
That might be the way we have to go. For now I'm trying to go down the docker-compose approach because then there is a guaranteed identical environment in dev and CI. I've nearly got it running on my machine (most of the tests pass too!). It looks like:
I'd like to report test coverage out too but that'll be a separate effort. |
Scott FYI I tried this and it did get further but since the supercharge action only creates a single member replicaset some of the tests that exercise different write concerns won't work. |
A simple first step could be to decide the upper and lower bounds of
both Elixir and OTP versions you want to test against and just have the
matrix be those two sets. If you want to really make sure everything
works, you can install as many versions between those bounds that you
want to test against.
|
This is fair. I believe there was one in the past but it may be gone
now. I think the number of people developing on windows is fairly low as
is.
|
Yes agreed. Again my preference is to start as basic as possible and then gradually expand our "official support" as we get used to taking care of this repo. I started a discussion about that in #372 . Thanks very much for the unexpected code review by the way, it was my understanding that you'd preferred to put the mongo work down for now otherwise I would have asked you directly. |
I'm on a mac but when I have had to use Windows it's maddening to find that it's not been properly taken care of. I think this should be a separate issue though. |
Thanks very much for the unexpected code review by the way, it was my
understanding that you'd preferred to put the mongo work down for now
otherwise I would have asked you directly.
My pleasure. Part of it is I am in the process of modifying the GH
actions at $DAYJOB, so I figured I could pitch in a bit here since it is
all still fresh in my head.
It's not that I am totally putting this project down, it is just that I
don't personally use mongo in any of my own projects at the moment, so I
may not be the best person to decide direction of the packages. However,
I am still more than happy to pitch in where it makes sense. I think
that is mostly in code reviews or if you or anyone else has have
questions about the code, I am more than happy to try and help out.
|
I'm so happy to see this repo active after long time. Thanks guys!!! |
@joeapearson I just cut a release! https://hex.pm/packages/mongodb/1.0.0-beta.1 The next step is to get this in before we hit 1.0.0. |
any news? |
It's unclear why this fails and it seems due to the test setup. Hopefully, we'll be able to look more into this in the future.
It fails on Mongo 4.4 likely due to the change in Mongo 4.4 having write concern being acknowledged by default. Future travelers who deeply care about making unacknowledged writes to the DB are welcome to look into this.
@etroynov It's shipped! |
I've added support for matrix builds. Currently there is only one combination:
We can add more combinations later.