From ddaa75f44b9c598894e01074ebc0cd82df223e1c Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sat, 30 Nov 2024 21:45:59 +0100 Subject: [PATCH] chore: Change woodpecker ci to use uv --- .woodpecker/static_analysis.yml | 6 +++--- .woodpecker/test.yml | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.woodpecker/static_analysis.yml b/.woodpecker/static_analysis.yml index b817624..5244d3a 100644 --- a/.woodpecker/static_analysis.yml +++ b/.woodpecker/static_analysis.yml @@ -3,7 +3,7 @@ steps: image: nikolaik/python-nodejs commands: - npm install --global pyright - - poetry install - - python --version && poetry --version && pyright --version + - uv sync + - python --version && uv version && pyright --version - echo "------------- running pyright typecheck -------------" - - poetry run pyright + - uv run pyright diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index 0dc8073..5ae9b1d 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -3,9 +3,9 @@ when: steps: pytest: - image: ghcr.io/withlogicco/poetry:1.5.1 + image: nikolaik/python-nodejs commands: - - poetry install - - python --version && poetry --version + - uv sync + - python --version && uv version - echo "------------- running pytest -------------" - - poetry run pytest + - uv run pytest