Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test for virtualenv stability #344

Merged
merged 1 commit into from
Jun 19, 2024
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
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
Loading