You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Postgres support in Tapioca for ActiveRecordColumns DSL compiler has been slowly increasing https://github.com/search?q=repo%3AShopify%2Ftapioca%20postgresql&type=code. As a result we have untested code paths since we only run an in memory SQLite database during tests. We should have CI setup where we can observe column types under the ActiveRecord::ConnectionAdapters::PostgreSQL namespace.
Questions:
Do we need to run postgres to be able to test the ActiveRecord adapter? (It'd be great if we didn't)
If we do run postgres, do we need a service container with a postgres image (ex) or is it already available in our image and we can just activate it?
The text was updated successfully, but these errors were encountered:
Agreed! I think the easiest way to test would be to use Docker both for the switching of versions if that ends up being necessary and probably for local development setup as well. It might make sense to use docker-compose to keep things consistent between GitHub actions and local development?
Postgres support in Tapioca for
ActiveRecordColumns
DSL compiler has been slowly increasing https://github.com/search?q=repo%3AShopify%2Ftapioca%20postgresql&type=code. As a result we have untested code paths since we only run an in memory SQLite database during tests. We should have CI setup where we can observe column types under theActiveRecord::ConnectionAdapters::PostgreSQL
namespace.Questions:
The text was updated successfully, but these errors were encountered: