Were you able to run successfully the functional tests with this configuration?
rebased onto f4947a57442a579bc8cae98801b7a56a706316a7
@gnaponie no, because the functional tests run their own instances of ResultsDB, WaiverDB, and expect Postgres to be running. In my opinion, it'd be nicer to just use containers like Estuary API does, but I just started looking at Greenwave and don't want to change the workflow if it's been working for you all.
rebased onto 5f561aac2df62cc6f2ff1615de54cb56ee5943e6
rebased onto f392f721e62ad5dbb33f3320c15300c2f88810d5
I fixed some typos and this is now ready for review.
+1
I forgot there is docker-compose.yml. Would be nice if the greenwave project directory is mounted read-only and test can be run in the container as well.
docker-compose.yml
+1 I forgot there is docker-compose.yml. Would be nice if the greenwave project directory is mounted read-only and test can be run in the container as well.
Yes, that would be nice. I'll talk with @gnaponie about this.
Yeah, I like the idea of running everything on a container, but yeah, we should make it work for the functional-tests that need an instance of WaiverDB/ResultsDB as you said...
The PR looks fine to me! I would maybe just write that this is just for developing purposes, and you cannot run the functional tests, so don't try to do that. But it's not mandatory... tests are not mentioned at all, so maybe it's already clear without explicitly tell that.
rebased onto 9c2ec2d42b7ad03f1f860063448e69a7fc0ee146
@gnaponie I added instructions on how to run the unit tests. Thanks for the review.
Commit c02ed8ec fixes this pull-request
Pull-Request has been merged by gnaponie