Skip to content

Commit

Permalink
nox: install all optional dependency groups to the virtualenv
Browse files Browse the repository at this point in the history
  • Loading branch information
zz1874 committed Aug 31, 2023
1 parent 596aa7b commit 6b86976
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ def integration_tests(session):

@nox.session(python=python_versions)
def self_test(session):
install_groups(session)
# Install all optional dependency groups for a self test
install_groups(session, include=["nox", "test", "lint", "format", "dev"])
# For --pyenv, use Nox's virtualenv, or fall back to current virtualenv
venv_path = getattr(session.virtualenv, "location", sys.prefix)
session.run("fawltydeps", f"--pyenv={venv_path}")
Expand Down

0 comments on commit 6b86976

Please sign in to comment.