s
This commit is contained in:
parent
48cb2419f1
commit
bcea6cfdc3
2 changed files with 31 additions and 18 deletions
23
.woodpecker/test.yaml
Normal file
23
.woodpecker/test.yaml
Normal file
|
@ -0,0 +1,23 @@
|
|||
when:
|
||||
- event: push
|
||||
branch: main
|
||||
- event: manual
|
||||
- event: tag
|
||||
|
||||
steps:
|
||||
|
||||
sync:
|
||||
image: ghcr.io/astral-sh/uv:python3.13-alpine
|
||||
volumes:
|
||||
- uv-cache:/uv-cache
|
||||
environment:
|
||||
UV_CACHE_DIR: /uv-cache
|
||||
UV_LINK_MODE: copy
|
||||
commands:
|
||||
- uv sync
|
||||
|
||||
test:
|
||||
#image: ghcr.io/astral-sh/uv:alpine
|
||||
image: ghcr.io/astral-sh/uv:python3.13-alpine
|
||||
commands:
|
||||
- .venv/bin/pytest -s tests/basic.py
|
Loading…
Add table
Add a link
Reference in a new issue