Add continuous integration
This commit is contained in:
parent
b0f8c48e99
commit
6f293f845f
1 changed files with 24 additions and 0 deletions
24
.woodpecker.yml
Normal file
24
.woodpecker.yml
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
branches: master
|
||||||
|
|
||||||
|
pipeline:
|
||||||
|
before_script:
|
||||||
|
image: python:3.9
|
||||||
|
commands:
|
||||||
|
- pip install poetry
|
||||||
|
- poetry config virtualenvs.create false
|
||||||
|
- poetry install
|
||||||
|
|
||||||
|
unit_tests:
|
||||||
|
image: python:3.9
|
||||||
|
commands:
|
||||||
|
- poetry run pytest
|
||||||
|
|
||||||
|
code_lint:
|
||||||
|
image: python:3.9
|
||||||
|
commands:
|
||||||
|
- poetry run black .
|
||||||
|
|
||||||
|
static_analysis:
|
||||||
|
image: python:3.9
|
||||||
|
commands:
|
||||||
|
- poetry run mypy .
|
Loading…
Reference in a new issue