CI: switch to woodpecker
This commit is contained in:
parent
4743879257
commit
4b05dc1cff
3 changed files with 86 additions and 82 deletions
21
.woodpecker/test.yaml
Normal file
21
.woodpecker/test.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
when:
|
||||
- event: push
|
||||
branch: main
|
||||
- event: manual
|
||||
- event: tag
|
||||
|
||||
steps:
|
||||
sync:
|
||||
image: code.philo.ydns.eu/philorg/uv
|
||||
volumes:
|
||||
- uv-cache:/uv-cache
|
||||
environment:
|
||||
UV_CACHE_DIR: /uv-cache
|
||||
UV_LINK_MODE: copy
|
||||
commands:
|
||||
- uv sync
|
||||
|
||||
test:
|
||||
image: code.philo.ydns.eu/philorg/uv
|
||||
commands:
|
||||
- .venv/bin/pytest -s tests/basic.py
|
Loading…
Add table
Add a link
Reference in a new issue