Add woodpecker ci file
Added basic continuous integration tests to run on any push.
This commit is contained in:
parent
b0f8c48e99
commit
d958956f8d
1 changed files with 23 additions and 0 deletions
23
.woodpecker.yml
Normal file
23
.woodpecker.yml
Normal file
|
@ -0,0 +1,23 @@
|
|||
pipeline:
|
||||
unit_tests:
|
||||
image: mquade/poetry:3.9-1.1.11
|
||||
commands:
|
||||
- poetry config virtualenvs.create false
|
||||
- poetry install
|
||||
- pytest
|
||||
|
||||
code_lint:
|
||||
image: mquade/poetry:3.9-1.1.11
|
||||
commands:
|
||||
- poetry config virtualenvs.create false
|
||||
- poetry install
|
||||
- pip install black
|
||||
- black .
|
||||
|
||||
static_analysis:
|
||||
image: mquade/poetry:3.9-1.1.11
|
||||
commands:
|
||||
- poetry config virtualenvs.create false
|
||||
- poetry install
|
||||
- pip install mypy
|
||||
- mypy .
|
Loading…
Reference in a new issue