Add woodpecker configuration
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/tests Pipeline was successful

This commit is contained in:
Sonny Bakker 2024-12-28 13:46:12 +01:00
parent 3f4c220eb1
commit 816bc54213
3 changed files with 25 additions and 56 deletions

15
.woodpecker/build.yaml Normal file
View file

@ -0,0 +1,15 @@
when:
- event: push
steps:
- name: development build
image: python:3.11
commands:
- make install-development
- transip-listen --help
- name: production build
image: python:3.11
commands:
- make install-production
- transip-listen --help

10
.woodpecker/tests.yaml Normal file
View file

@ -0,0 +1,10 @@
when:
- event: push
steps:
- name: python tests
image: python:3.11
commands:
- pip install --requirement requirements/ci.txt
- coverage run --module unittest
- coverage report