diff --git a/.changes/unreleased/Features-20230921-175106.yaml b/.changes/unreleased/Features-20230921-175106.yaml new file mode 100644 index 000000000..0122f4af0 --- /dev/null +++ b/.changes/unreleased/Features-20230921-175106.yaml @@ -0,0 +1,6 @@ +kind: Features +body: Support persisting test results as a view +time: 2023-09-21T17:51:06.389529-04:00 +custom: + Author: mikealfare + Issue: "6914" diff --git a/Makefile b/Makefile index c75b0c6a9..fc6536f98 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,7 @@ dev: ## Installs adapter in develop mode along with development dependencies dev-uninstall: ## Uninstalls all packages while maintaining the virtual environment ## Useful when updating versions, or if you accidentally installed into the system interpreter pip freeze | grep -v "^-e" | cut -d "@" -f1 | xargs pip uninstall -y + pip uninstall -y dbt-bigquery .PHONY: ubuntu-py311 ubuntu-py311: ## Builds and runs an Ubuntu Python 3.11 development container diff --git a/dev-requirements.txt b/dev-requirements.txt index 54ca40f26..0de27b55f 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,7 +1,7 @@ # install latest changes in dbt-core # TODO: how to automate switching from develop to version branches? -git+https://github.com/dbt-labs/dbt-core.git#egg=dbt-core&subdirectory=core -git+https://github.com/dbt-labs/dbt-core.git#egg=dbt-tests-adapter&subdirectory=tests/adapter +git+https://github.com/dbt-labs/dbt-core.git@feature/materialized-tests/adap-850#egg=dbt-core&subdirectory=core +git+https://github.com/dbt-labs/dbt-core.git@feature/materialized-tests/adap-850#egg=dbt-tests-adapter&subdirectory=tests/adapter # if version 1.x or greater -> pin to major version # if version 0.x -> pin to minor diff --git a/tests/functional/adapter/test_persist_test_results.py b/tests/functional/adapter/test_persist_test_results.py new file mode 100644 index 000000000..75bfb5acc --- /dev/null +++ b/tests/functional/adapter/test_persist_test_results.py @@ -0,0 +1,5 @@ +from dbt.tests.adapter.persist_test_results.basic import PersistTestResults + + +class TestPersistTestResults(PersistTestResults): + pass