# How we sped up our CI runs by 10x using Slim CI

**URL:** <https://discourse.getdbt.com/t/how-we-sped-up-our-ci-runs-by-10x-using-slim-ci/2603>\
**Category:** Show and Tell\
**Tags:** testing, ci-cd\
**Created:** [June 5, 2021, 1:10am UTC](https://discourse.getdbt.com/t/how-we-sped-up-our-ci-runs-by-10x-using-slim-ci/2603 "2021-06-05T01:10:52Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![joellabes](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/joellabes/32/3980_2.png) [@joellabes](https://discourse.getdbt.com/u/joellabes)\
**Post date:** [November 19, 2021, 3:52am UTC](https://discourse.getdbt.com/t/how-we-sped-up-our-ci-runs-by-10x-using-slim-ci/2603/10 "2021-11-19T03:52:55Z")

</div>

> [@ecalzo](#):
>
> @joellabes could you please elaborate on how to add dynamic config to the `dbt_project.yml` file? It would be awesome if you could share a snippet as an example, thank you!

Sure! Borrowed from [FAQ: Configuring models based on environments](https://discourse.getdbt.com/t/faq-configuring-models-based-on-environments/463):

```auto
models:
  materialized: "{{ 'table' if target.name == 'prod' else 'view' }}"

```

---

_[View the full topic](https://discourse.getdbt.com/t/how-we-sped-up-our-ci-runs-by-10x-using-slim-ci/2603)._
