Add continuous integration pipeline
Added static analysis (lint, type checking) to be done on each push, and testing to be done on each master branch commit.
This commit is contained in:
parent
c6b95a4742
commit
b564ab4792
8 changed files with 168 additions and 41 deletions
9
.woodpecker/static_analysis.yml
Normal file
9
.woodpecker/static_analysis.yml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
pipeline:
|
||||
pyright:
|
||||
image: nikolaik/python-nodejs
|
||||
commands:
|
||||
- npm install --global pyright
|
||||
- poetry install
|
||||
- python --version && poetry --version && pyright --version
|
||||
- echo "------------- running pyright typecheck -------------"
|
||||
- poetry run pyright
|
||||
Loading…
Add table
Add a link
Reference in a new issue