dbt cloud - commands in script

Hi,

is there a possibility in dbt cloud to put some dbt commands into a script file (or macro?) and then execute it ?

e.g.

– dbt run-operation macro_123
– dbt run-operation macro_123 --vars ‘unit_test_name: test_no_1’
– dbt run-operation macro_123 --vars ‘unit_test_name: test_no_2’

I want to gather all tests, and then run it always at once.

What code do you hope you can put inside of macro_123? It is possible to set vars via the command line, but you can’t have a macro that calls other dbt command like run or test.

If you want to run dbt tests, why would you try to invoke an operation instead of just running dbt test directly?