Skip to content

Commit

Permalink
Add tests for uv
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Sep 3, 2024
1 parent 08b9375 commit a1f5a78
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions tests/uv.recipe
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a1f5a78

Please sign in to comment.