Skip to content

Test PostgreSQL ActiveRecord adapter types #2149

Open
@KaanOzkan

Description

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?

Metadata

Assignees

No one assigned

    Labels

    gh-actionshelp-wantedWe support this change, and welcome community contributions for it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions