-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ele 1694 bugfixes + tests for metric backfill logic (#522)
* get_test_buckets_min_and_max: bugfixes + clearer names * get_config_var: make the min_training_set_size much smaller than days_back * test_table_anomalies: log fix * tests: add coverage for metrics backfill logic in various cases * test-warehouse: remove --pre * test fixes * test fixes * get_buckets_configuration: add cast as timestamp to deal with BQ issue when the value is null * tests fix: don't use ilike since BQ doesn't have it * tests: copy the dbt project to a temp dir, to avoid races * CI: allow running with --pre as a parameter * CI: bugfix * CI: bugfix * tests: only copy the dbt project dir once per process * CI: add daily workflow for running on pre-releases * CI: bugfix * CI: bugfix * tests: temp test - remove project copy to see if it speeds things up * temporary test number #2 - don't run incremental query * return to regular logic * add HTML report as artifact * make HTML report self contained * test-warehouse: make report artifact unique * tests: use UTC today not date.today() * test fixes * tests performance optimization + add force_metrics_backfill var
- Loading branch information
Showing
16 changed files
with
491 additions
and
97 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
.github/workflows/test-all-warehouses-dbt-pre-releases.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: Test all warehouse platforms on dbt pre-releases | ||
on: | ||
schedule: | ||
- cron: "0 6 * * *" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
uses: ./.github/workflows/test-all-warehouses.yml | ||
secrets: inherit | ||
with: | ||
dbt-version: latest_pre |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
pytest | ||
pytest-xdist | ||
pytest-parametrization | ||
pytest-html | ||
filelock | ||
urllib3==2.0.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.