mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 13:25:00 +00:00
Add --version
to smoke tests (#12516)
This commit is contained in:
parent
a28db37f33
commit
daeae612aa
1 changed files with 6 additions and 1 deletions
|
@ -1,6 +1,9 @@
|
|||
# NOTE this is not a real shell-script, it's parsed by `smoke-test/__main__.py` and executed
|
||||
# serially via Python for cross-platform support.
|
||||
|
||||
# Show the uv version
|
||||
uv --version
|
||||
|
||||
# Use any Python 3.13 version
|
||||
uv python pin 3.13
|
||||
|
||||
|
@ -12,6 +15,8 @@ uv pip install ruff -v
|
|||
uv pip install numpy -v
|
||||
uv run python -c "import numpy; print(numpy.__version__)"
|
||||
|
||||
# Show the `uvx` version
|
||||
uvx --version
|
||||
|
||||
# Run a package via `uvx`
|
||||
uvx -v ruff --version
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue