Add woodpecker configuration
This commit is contained in:
parent
3f4c220eb1
commit
816bc54213
3 changed files with 25 additions and 56 deletions
15
.woodpecker/build.yaml
Normal file
15
.woodpecker/build.yaml
Normal 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
10
.woodpecker/tests.yaml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue