We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17aff26 commit 83d6c37Copy full SHA for 83d6c37
noxfile-template.py
@@ -88,6 +88,7 @@ def get_pytest_env_vars():
88
89
TESTED_VERSIONS = sorted([v for v in ALL_VERSIONS if v not in IGNORED_VERSIONS])
90
91
+INSTALL_LIBRARY_FROM_SOURCE = bool(os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False))
92
#
93
# Style Checks
94
@@ -159,6 +160,9 @@ def _session_tests(session, post_install=None):
159
160
if os.path.exists("requirements-test.txt"):
161
session.install("-r", "requirements-test.txt")
162
163
+ if INSTALL_LIBRARY_FROM_SOURCE:
164
+ session.install("-e", _get_repo_root())
165
+
166
if post_install:
167
post_install(session)
168
0 commit comments