Skip to content

Commit e564006

Browse files
committed
moving tags
1 parent 525cb0e commit e564006

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

.github/workflows/dbt-integration.yml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -50,33 +50,30 @@ jobs:
5050
models:
5151
- name: customers
5252
description: "Test customer model"
53-
tags:
54-
- critical
55-
- customer
56-
config:
57-
materialized: table
5853
- name: orders
5954
description: "Test orders model"
60-
tags:
61-
- critical
62-
config:
63-
materialized: table
6455
- name: users
6556
description: "Test users model"
66-
tags:
67-
- user
68-
config:
69-
materialized: view
7057
EOF
7158
7259
cat > models/customers.sql << 'EOF'
60+
{{ config(
61+
materialized='table',
62+
tags=['critical', 'customer']
63+
) }}
64+
7365
SELECT
7466
1 as customer_id,
7567
'[email protected]' as email,
7668
'2024-01-01'::date as registration_date
7769
EOF
7870
7971
cat > models/orders.sql << 'EOF'
72+
{{ config(
73+
materialized='table',
74+
tags=['critical']
75+
) }}
76+
8077
SELECT
8178
1 as order_id,
8279
1 as customer_id,
@@ -85,6 +82,11 @@ jobs:
8582
EOF
8683
8784
cat > models/users.sql << 'EOF'
85+
{{ config(
86+
materialized='view',
87+
tags=['user']
88+
) }}
89+
8890
SELECT
8991
1 as user_id,
9092
'test_user' as username

0 commit comments

Comments
 (0)