Add woodpecker configuration

This commit is contained in:
Sonny Bakker 2024-12-28 13:35:24 +01:00
parent 3f4c220eb1
commit 69b7667a53
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