Skip to content

Commit

Permalink
Update validation.md
Browse files Browse the repository at this point in the history
remove dbt core validation command and add ci semantic validation. slack thread here: https://dbt-labs.slack.com/archives/C03KHQRQUBX/p1722535059304309?thread_ts=1722215844.627059&cid=C03KHQRQUBX
  • Loading branch information
mirnawong1 authored Aug 5, 2024
1 parent 401c2f1 commit 7f1df6b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions website/docs/docs/build/validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@ The code that handles validation [can be found here](https://github.com/dbt-labs

## Validations command

You can run validations from dbt Cloud or the command line with the following [MetricFlow commands](/docs/build/metricflow-commands):
You can run validations against the defined semantic model configurations from the command line with the following [MetricFlow commands](/docs/build/metricflow-commands):

Note, in dbt Cloud you don't need to validate the Semantic Layer config separately. Running a dbt command (such as dbt parse, dbt build, dbt compile, dbt run) automatically checks it.

```bash
dbt sl validate-configs # dbt Cloud users
mf validate-configs # dbt Core users
```

You can run semantic validations in a CI job to guarantee any code changes made to dbt models don't break these metrics. For more information, refer to [semantic validation in CI](/docs/deploy/ci-jobs#semantic-validations-in-ci).

## Parsing

In this validation step, we ensure your config files follow the defined schema for each semantic graph object and can be parsed successfully. It validates the schema for the following core objects:
Expand Down

0 comments on commit 7f1df6b

Please sign in to comment.