Ruoyu Qian
09/28/2022, 3:50 PMdefine_asset_job()
where I can not only materialize dbt models but also test them?
So currently I have a sensor that got triggered when dbt model get materialized successfully by dagster. I want the sensor to be trigger not but dbt run
but by dbt test
owen
09/28/2022, 10:33 PMdbt build
command which will run the tests in the same command as your dbt models. You can load_assets_from_dbt_project(..., use_build_command=True)
to enable this behavior.