Add mypy to GitLab CI
This commit is contained in:
parent
552dfd7937
commit
f495b1d079
3 changed files with 40 additions and 1 deletions
|
@ -1,6 +1,14 @@
|
|||
image: python:3.8-bullseye
|
||||
|
||||
test:
|
||||
test:mypy:
|
||||
script:
|
||||
- cp config.yaml.example config.yaml
|
||||
- apt update && apt install build-essential
|
||||
- pip install -r requirements.txt --quiet
|
||||
- pip install -r requirements-types.txt --quiet
|
||||
- mypy app
|
||||
|
||||
test:docs:
|
||||
stage: test
|
||||
script:
|
||||
- cp config.yaml.example config.yaml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue