mirror of
https://github.com/FlipsideCrypto/solana-models.git
synced 2026-02-06 15:26:47 +00:00
update frequency and add test (#369)
* update frequency and add test * adjust schedule
This commit is contained in:
parent
ef65497970
commit
a1e73a1c91
@ -4,8 +4,8 @@ run-name: dbt_run_helius_metadata
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
# Runs "every 7th minute" (see https://crontab.guru)
|
||||
- cron: '*/7 * * * *'
|
||||
# Runs "at minute 0 past hour 3 and 15" (see https://crontab.guru)
|
||||
- cron: '0 3,15 * * *'
|
||||
|
||||
env:
|
||||
DBT_PROFILES_DIR: "${{ secrets.DBT_PROFILES_DIR }}"
|
||||
@ -42,6 +42,5 @@ jobs:
|
||||
- name: Run DBT Jobs
|
||||
run: |
|
||||
dbt run -s models/silver/metadata/helius/silver__helius_nft_requests.sql models/bronze/bronze_api/bronze_api__helius_nft_metadata.sql
|
||||
dbt run -s models/bronze/bronze_api/bronze_api__helius_nft_metadata.sql
|
||||
|
||||
|
||||
|
||||
@ -7,6 +7,10 @@ models:
|
||||
description: "Raw response data"
|
||||
- name: MAX_MINT_EVENT_INSERTED_TIMESTAMP
|
||||
description: "The latest inserted timestamp for the mints passed to a call"
|
||||
tests:
|
||||
- dbt_expectations.expect_row_values_to_have_recent_data:
|
||||
datepart: day
|
||||
interval: 3
|
||||
- name: _INSERTED_TIMESTAMP
|
||||
description: "{{ doc('_inserted_timestamp') }}"
|
||||
tests:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user