Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,18 @@ test: ## Run the integration tests.
@./run_test.sh $(target)

.PHONY: test_tox
test: ## Run the integration tests with tox
test_tox: ## Run the integration tests with tox
@\
tox -e dbt_integration_$(target)

.PHONY: dev
dev: ## Installs dbt-* packages in develop mode along with development dependencies.
@\
echo "Install dbt-$(target)..."; \
python -m pip install --upgrade pip setuptools; \
python -m pip install dbt-core "dbt-$(target)";
python3 -m venv .venv; \
.venv/bin/python -m ensurepip; \
.venv/bin/python -m pip install --upgrade pip setuptools; \
.venv/bin/python -m pip install dbt-core "dbt-$(target)";

.PHONY: setup-db
setup-db: ## Setup Postgres database with docker-compose for system testing.
Expand Down
1 change: 0 additions & 1 deletion run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

echo `pwd`
cd integration_tests
cp ci/sample.profiles.yml profiles.yml

dbt --warn-error deps --target $1 || exit 1
dbt --warn-error run-operation create_source_table --target $1 || exit 1
Expand Down
Loading