From 37589c1378b28ce7530365e80cd60a38967b0e58 Mon Sep 17 00:00:00 2001 From: Doug Beatty <44704949+dbeatty10@users.noreply.github.com> Date: Sun, 11 Jun 2023 08:38:44 -0600 Subject: [PATCH] Use the root directory for the tox project (where the configuration file is found) to install editable requirements (#151) --- tox.ini | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index 2a72f4d..2d8a5e5 100644 --- a/tox.ini +++ b/tox.ini @@ -15,7 +15,7 @@ commands = /bin/bash -c '{envpython} -m pytest -v {posargs} tests/unit' passenv = DBT_INVOCATION_ENV deps = -r{toxinidir}/requirements-dev.txt - -e. + -r{toxinidir}/requirements-editable.txt [testenv:integration-mysql-8.0] basepython = python3.9 @@ -23,7 +23,7 @@ commands = {envpython} -m pytest -v --profile mysql {posargs} tests/functional passenv = DBT_INVOCATION_ENV DBT_MYSQL_SERVER_NAME DBT_MYSQL_80_PORT deps = -r{toxinidir}/requirements-dev.txt - -e. + -r{toxinidir}/requirements-editable.txt [testenv:integration-mysql-5.7] basepython = python3.9 @@ -31,7 +31,7 @@ commands = {envpython} -m pytest -v --profile mysql5 {posargs} tests/functional passenv = DBT_INVOCATION_ENV DBT_MYSQL_SERVER_NAME DBT_MYSQL_57_PORT deps = -r{toxinidir}/requirements-dev.txt - -e. + -r{toxinidir}/requirements-editable.txt [testenv:integration-mariadb-10.5] basepython = python3.9 @@ -39,4 +39,4 @@ commands = {envpython} -m pytest -v --profile mariadb {posargs} tests/functional passenv = DBT_INVOCATION_ENV DBT_MYSQL_SERVER_NAME DBT_MARIADB_105_PORT deps = -r{toxinidir}/requirements-dev.txt - -e. + -r{toxinidir}/requirements-editable.txt