Add --version to smoke tests (#12516)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user