eregs / regulations-core

An engine that supplies the API that allows users to read regulations and their various layers.
Creative Commons Zero v1.0 Universal
16 stars 27 forks source link

Split dependencies of backends during tests. #80

Closed cmc333333 closed 6 years ago

cmc333333 commented 6 years ago

We've been testing with both the haystack and elastic dependencies installed at once. This will be a problem when working with the postgres backend because it requires a specific version of Django. We'd like to keep testing the other versions of Django with haystack and elastic, so we need to set up a framework for testing separate backends with different dependencies installed.

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-10.2%) to 83.113% when pulling 41ccb985c5c49efab93d72e5eb9207eef1a2847e on 475-backend-test-split into 63a9b91c9e95b8b286f83c3fc47abff652e763bd on master.

cmc333333 commented 6 years ago

Coverage drop is misleading -- depending on tox config, different branches of code are tested. I'm not sure how to resolve that at the moment...

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.04%) to 93.348% when pulling ba3ecd109e1e2fd9c4bd9e724a976400bea00193 on 475-backend-test-split into 63a9b91c9e95b8b286f83c3fc47abff652e763bd on master.

cmc333333 commented 6 years ago

Thanks @tadhg-ohiggins