Skip to content

Commit

Permalink
Test with Windows
Browse files Browse the repository at this point in the history
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
  • Loading branch information
gaborbernat committed Feb 19, 2024
1 parent 194a908 commit 61ce790
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- "3.8"
os:
- ubuntu-latest
# - windows-latest # not yet supported
- windows-latest
- macos-latest
steps:
- name: setup python for tox
Expand Down
4 changes: 2 additions & 2 deletions src/tox_uv/_venv.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@ def environment_variables(self) -> dict[str, str]:

def create_python_env(self) -> None:
base = self.base_python
cmd = [self.uv, "venv", "-p", base.version_dot]
cmd = [self.uv, "venv", "-p", base.version_dot, "-v"]
if self.conf["uv_seed"]:
cmd.append("--seed")
cmd.append(str(self.venv_dir))
outcome = self.execute(cmd, stdin=StdinSource.OFF, run_id="venv", show=False)
outcome = self.execute(cmd, stdin=StdinSource.OFF, run_id="venv", show=True)
outcome.assert_success()

@property
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ package = wheel
wheel_build_env = .pkg
extras =
test
pass_env =
PATH
set_env =
COVERAGE_FILE = {toxworkdir}{/}.coverage.{envname}
commands =
Expand Down

0 comments on commit 61ce790

Please sign in to comment.