godatadriven / pytest-dbt-core

Pytest plugin for dbt core
https://pytest-dbt-core.readthedocs.io/en/latest/
Apache License 2.0
54 stars 2 forks source link

[Feature] Run in DBT Cloud #21

Closed calleo closed 1 year ago

calleo commented 1 year ago

Is this your first time opening an issue?

Describe the Feature

Lots of my colleagues uses the DBT Cloud IDE. It lowers the entry barrier for anyone not experience with IDEs, git, etc. With that in mind, I would like them to also have the possibility to write unit tests and run the tests in that environment.

Describe alternatives you've considered

Running tests in CI pipeline, but this creates a very slow feedback loop.

Who will this benefit?

Any DBT developer using DBT Cloud IDE

Are you interested in contributing this feature?

Yes

Anything else?

I have now clue if this is even remotely possible. Does that DBT cloud runtime include Pytest? Is it possible to create a DBT package which pulls in additional packages from pypi?

JCZuurmond commented 1 year ago

Hi @calleo, sorry that I missed your issue! I changed my notification settings so that this won't happen again.

I am afraid that we can not run this package in the dbt cloud. The dbt cloud blocks you from running anything other than dbt. This is on purpose, I guess they want to avoid misuse of the dbt cloud and for security reasons.