Skip to content

Commit

Permalink
Fix select_data_test_iasworld selector by using set intersection (#650
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jeancochrane authored Nov 19, 2024
1 parent d87dd94 commit ac2b969
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions dbt/selectors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ selectors:
description: Selector for running data tests on iasWorld tables
definition:
union:
- method: resource_type
value: test
- method: tag
value: data_test_iasworld
# Only run tests that exclusively reference selected nodes. Useful
# for avoiding an edge case where a test whose base model is not
# selected can run because it has an argument that references a model
# that _is_ selected.
indirect_selection: cautious
- intersection:
- method: resource_type
value: test
- method: tag
value: data_test_iasworld
# Only run tests that exclusively reference selected nodes. Useful
# for avoiding an edge case where a test whose base model is not
# selected can run because it has an argument that references a model
# that _is_ selected.
indirect_selection: cautious
- exclude:
- method: tag
value: data_test_iasworld_exclude_from_workbook
Expand Down

0 comments on commit ac2b969

Please sign in to comment.