Skip to content
Merged
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
Add virtualenv test
Signed-off-by: Bernát Gábor <[email protected]>
  • Loading branch information
gaborbernat committed Jun 19, 2024
commit 69048c7eb04af77979a4013ee804cb87d530e680
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ optional-dependencies.testing = [
"pytest-cov>=4.1",
"pytest-mock>=3.12",
"pytest-timeout>=2.2",
"virtualenv>=20.26.2",
]
optional-dependencies.typing = [
"typing-extensions>=4.8; python_version<'3.11'",
Expand Down
12 changes: 12 additions & 0 deletions tests/test_virtualenv.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from __future__ import annotations

from typing import TYPE_CHECKING

from virtualenv import cli_run

if TYPE_CHECKING:
from pathlib import Path


def test_virtualenv(tmp_path: Path) -> None:
cli_run([str(tmp_path), "--no-pip", "--no-setuptools", "--no-periodic-update"])
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,4 @@ extras =
commands =
python -m pip list --format=columns
python -c 'import sys; print(sys.executable)'
uv_seed = true