Add the woodpecker configuration

This commit is contained in:
Sameer Rahmani 2023-04-20 17:30:51 +01:00
parent 61db1f78d3
commit 809972b276
Signed by: lxsameer
GPG Key ID: B0A4AF28AB9FD90B
1 changed files with 9 additions and 0 deletions

9
.woodpecker/build.yml Normal file
View File

@ -0,0 +1,9 @@
pipeline:
build:
image: python:3.10-alpine
commands:
- apk --no-cache add --update git
- export FILES="$(git diff --name-only HEAD HEAD~1)"
- pip install poetry pre-commit
- poetry install
- pre-commit run --files "$FILES"