From db761d49c1f0526fd9e0eb21831285c4b219fca0 Mon Sep 17 00:00:00 2001 From: Ethan Paul <24588726+enpaul@users.noreply.github.com> Date: Fri, 4 Dec 2020 22:28:27 -0500 Subject: [PATCH] Add poetry extra install to tox config to support CI --- tox.ini | 2 ++ tox_poetry_installer/utilities.py | 3 +++ 2 files changed, 5 insertions(+) diff --git a/tox.ini b/tox.ini index bf4ce7c..cbee73c 100644 --- a/tox.ini +++ b/tox.ini @@ -6,6 +6,8 @@ skip_missing_interpreters = true [testenv] description = Run the tests require_locked_deps = true +extras = + poetry locked_deps = pytest pytest-cov diff --git a/tox_poetry_installer/utilities.py b/tox_poetry_installer/utilities.py index 838d924..09e6439 100644 --- a/tox_poetry_installer/utilities.py +++ b/tox_poetry_installer/utilities.py @@ -157,6 +157,9 @@ def find_project_dependencies( extra_dependencies: List[PoetryPackage] = [] for extra in venv.envconfig.extras: + reporter.verbosity1( + f"{constants.REPORTER_PREFIX} Processing project extra '{extra}'" + ) try: extra_dependencies += [ packages[item.name] for item in poetry.package.extras[extra]