-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from mpcarter/add-tests
Add tests (in preparation for v1 upgrade)
- Loading branch information
Showing
5 changed files
with
76 additions
and
28 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
import pathlib | ||
|
||
package_name = "dbt-vertica" | ||
package_version = "0.21.0" | ||
package_version = "0.21.1" | ||
description = """The vertica adapter plugin for dbt (data build tool)""" | ||
|
||
HERE = pathlib.Path(__file__).parent | ||
|
@@ -19,7 +19,7 @@ | |
license='MIT', | ||
author='Matthew Carter (original), Andrew Hedengren, Andy Reagan', | ||
author_email='[email protected], [email protected]', | ||
url='https://github.com/andyreagan/dbt-vertica', | ||
url='https://github.com/mpcarter/dbt-vertica', | ||
packages=find_packages(), | ||
package_data={ | ||
'dbt': [ | ||
|
@@ -29,7 +29,12 @@ | |
] | ||
}, | ||
install_requires=[ | ||
'dbt-core>=0.21.0', | ||
'dbt-core>=0.21.0,<1.0.0', | ||
'vertica-python>=0.10.0', | ||
] | ||
], | ||
extras_require={ | ||
'dev': [ | ||
'pytest-dbt-adapter==0.5.0', | ||
] | ||
} | ||
) |
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,19 @@ | ||
target: | ||
type: vertica | ||
host: localhost | ||
username: dbadmin | ||
password: '' | ||
database: docker | ||
schema: "dbt_test_{{ var('_dbt_random_suffix') }}" | ||
port: 5433 | ||
threads: 1 | ||
sequences: | ||
test_dbt_empty: empty | ||
test_dbt_base: base | ||
test_dbt_ephemeral: ephemeral | ||
# test_dbt_incremental: incremental | ||
# test_dbt_snapshot_strategy_timestamp: snapshot_strategy_timestamp | ||
# test_dbt_snapshot_strategy_check_cols: snapshot_strategy_check_cols | ||
test_dbt_data_test: data_test | ||
test_dbt_schema_test: schema_test | ||
test_dbt_ephemeral_data_tests: data_test_ephemeral_models |
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,5 @@ | ||
from dbt.adapters.vertica import * | ||
|
||
|
||
def test_empty() -> None: | ||
pass |