I’m interested in filtering out some tests on a CI run. The CI process runs on circleci & all the tests are executed against a test database. The test database is a nightly snapshot of our data warehouse. So,
- tests depending on data freshness would fail.
- there are a couple of tests that take a long time to run which would make our CI a lot more painful.
I’d like to run all tests excluding some data tests that fall under these two criteria on each CI bulid
Can something like this be done?
My initial hope was to be able to tag specific data tests with
noci & then invoke
dbt test somehow excluding the tests with the tag
noci. This won’t work because tests can’t be tagged & they use the
Another possible solution I thought of: if we were able to specify the test folder where data tests can be found, I would move all the noci tests to a separate directory and then only run tests not in the noci folder.
What would be the recommended way to accomplish this?