can anyone share how to organise multiple projects in dbt , given the best practices. My present abstract architecture hierarchy is as follows
Analytics
--.dbt/
-----profiles.yml
--projects/
-----project_1/
----------models/
----------dbt_project.yml
-----project_2/
----------models/
----------dbt_project.yml
--tests/
-----projects/
----------project_1/
----------project_2/
To the point of creating models for either projects_1 or project_2 is working perfectly fine.
but the problem comes when i try to run the test (model unit tests) for project_2.when I run it gives the error ' no dbt_project.yml found at expected path in temp/project_1/ ... ' (the unit tests that i am trying to run is for project_2) however, the paths are absolutely correct but the lookup for dbt_project.yml is in wrong directory (in the temp directory). On the side note, some of the project_2 models does depends on few project_1 models.
can anyone share or reference where i can get the help to solve this sort of multi dbt project issue.