Skip to content

Unit Tests version doesn't seem to be mapped correctly. #222

@marcilj

Description

@marcilj

In the documentation from DBT it seems like the correct structure for specifying versions in Unit tests is

unit_tests:
  - name: my_model_unit_test
    model: my_model
    versions:
      include:
        - 2

But The https://raw.githubusercontent.com/dbt-labs/dbt-jsonschema/main/schemas/latest/dbt_yml_files-latest.json doesn't seem to be valid for the versions attribute.

It's always returning like it's not supported.

Same goes for config or config -> meta for macros
https://docs.getdbt.com/reference/resource-configs/meta

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions