File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -175,14 +175,25 @@ git push --tags
175
175
176
176
## Running Tests
177
177
178
- Install the ` pytest-dbt-adapter ` package and run the test specs in this repository:
178
+ On Windows, you'll need to make adjustments to the commands below.
179
179
180
180
```
181
- pip install pytest-dbt-adapter
181
+ workon dbt-sqlite-test
182
+
183
+ pip install dbt==0.19.2
184
+
185
+ # install adapter test suite
186
+ # version 0.5.0 doesn't work with dbt 0.19.x
187
+ # see https://github.com/dbt-labs/dbt-adapter-tests/issues/20
188
+ pip install pytest-dbt-adapter==0.4.0
189
+
190
+ # install dbt-sqlite in development mode
191
+ pip install -e .
182
192
183
193
# this path needs to exist for tests to write database file
184
194
mkdir -p /tmp/dbt-sqlite-tests
185
195
196
+ # adjust paths in test/sqlite.dbtspec before running this
186
197
pytest test/sqlite.dbtspec
187
198
```
188
199
You can’t perform that action at this time.
0 commit comments