chore: Change woodpecker ci to use uv

This commit is contained in:
Marty Oehme 2024-11-30 21:45:59 +01:00
parent 9c80281220
commit ddaa75f44b
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
2 changed files with 7 additions and 7 deletions

View file

@ -3,7 +3,7 @@ steps:
image: nikolaik/python-nodejs image: nikolaik/python-nodejs
commands: commands:
- npm install --global pyright - npm install --global pyright
- poetry install - uv sync
- python --version && poetry --version && pyright --version - python --version && uv version && pyright --version
- echo "------------- running pyright typecheck -------------" - echo "------------- running pyright typecheck -------------"
- poetry run pyright - uv run pyright

View file

@ -3,9 +3,9 @@ when:
steps: steps:
pytest: pytest:
image: ghcr.io/withlogicco/poetry:1.5.1 image: nikolaik/python-nodejs
commands: commands:
- poetry install - uv sync
- python --version && poetry --version - python --version && uv version
- echo "------------- running pytest -------------" - echo "------------- running pytest -------------"
- poetry run pytest - uv run pytest