Skip to content

Commit

Permalink
upgrade to 1.0.0 (#21)
Browse files Browse the repository at this point in the history
* upgrade to 1.0.0

* fix more paths, and replace depracated --data flag
  • Loading branch information
tnightengale authored Dec 7, 2021
1 parent 182eb49 commit 9d7279b
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
# Triggers the workflow on push or pull request events but only for the master branch
pull_request:
branches: [ master ]

jobs:
ci:
runs-on: ubuntu-latest
Expand All @@ -13,17 +13,17 @@ jobs:
steps:
- name: Checkout Branch
uses: actions/checkout@v2

- name: Install Python
uses: actions/setup-python@v2
with:
python-version: 3.8
with:
python-version: 3.9.6

- name: Install dbt
run: pip install -r requirements.txt

- name: Run and Test
env:
env:
CI_SNOWFLAKE_DBT_ACCOUNT: ${{ secrets.CI_SNOWFLAKE_DBT_ACCOUNT }}
CI_SNOWFLAKE_DBT_USER: ${{ secrets.CI_SNOWFLAKE_DBT_USER }}
CI_SNOWFLAKE_DBT_PASS: ${{ secrets.CI_SNOWFLAKE_DBT_PASS }}
Expand All @@ -33,4 +33,4 @@ jobs:
run: |
cd integration_tests
dbt deps
dbt test --data
dbt test -s test_type:singular
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Include in `packages.yml`:
```yaml
packages:
- package: tnightengale/dbt_meta_testing
version: 0.3.4
version: 0.3.5
```
For latest release, see
https://github.com/tnightengale/dbt-meta-testing/releases.
Expand Down
8 changes: 4 additions & 4 deletions dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@

# Project name.
name: 'dbt_meta_testing'
version: '0.2.0'
version: '0.3.5'
config-version: 2
require-dbt-version: [">=0.21.0", "<0.22.0"]
require-dbt-version: ">=1.0.0"

# The "profile" dbt uses for this project.
profile: 'dbt_meta_testing'

# Configuration paths.
source-paths: ["models"]
model-paths: ["models"]
analysis-paths: ["analysis"]
test-paths: ["tests"]
data-paths: ["data"]
seed-paths: ["data"]
macro-paths: ["macros"]
snapshot-paths: ["snapshots"]

Expand Down
8 changes: 4 additions & 4 deletions integration_tests/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ profile: 'integration_tests'

config-version: 2

source-paths: ["models"]
model-paths: ["models"]
macro-paths: ["macros"]
test-paths: ["tests"]

Expand All @@ -23,14 +23,14 @@ models:
marts:
+required_tests: {"unique": 1}
model_2:
+required_tests:
+required_tests:
"mocker.*|unique": 1
"mock_schema_test": 1
".*data_test": 1
".*data_test": 1

vars:
running_intergration_tests: true

dispatch:
- macro_namespace: dbt_meta_testing
search_order: ['dbt_meta_testing'] # enable override
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dbt==0.21.0
dbt-snowflake==1.0.0

0 comments on commit 9d7279b

Please sign in to comment.