From a1f5a78025f884e3fd687af397221d828b9b8737 Mon Sep 17 00:00:00 2001 From: Anton Novojilov Date: Wed, 4 Sep 2024 01:21:23 +0300 Subject: [PATCH] Add tests for uv --- tests/uv.recipe | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 tests/uv.recipe diff --git a/tests/uv.recipe b/tests/uv.recipe new file mode 100644 index 000000000..39b709797 --- /dev/null +++ b/tests/uv.recipe @@ -0,0 +1,28 @@ +# Bibop recipe for uv +# See more: https://kaos.sh/bibop + +pkg uv + +fast-finish yes +lock-workdir no + +command "-" "Check environment" + app uv + app uvx + +command "uv python install 3.10" "Install python" + exit 0 + +command "uv init uv-example" "Init example project" + exit 0 + +command "-" "Set current directory to example project" + chdir uv-example + exist pyproject.toml + +command "uv add ruff" "Add ruff" + exit 0 + exist uv.lock + +command "uv run ruff check" "Run ruff" + exit 0