This commit is contained in:
parent
8ac781a336
commit
07b699fcff
1 changed files with 8 additions and 9 deletions
|
@ -1,22 +1,21 @@
|
|||
pipeline:
|
||||
before_script:
|
||||
image: python:3.9
|
||||
unit_tests:
|
||||
image: mquade/poetry:3.9-1.1.11
|
||||
commands:
|
||||
- pip install poetry
|
||||
- poetry config virtualenvs.create false
|
||||
- poetry install
|
||||
|
||||
unit_tests:
|
||||
image: python:3.9
|
||||
commands:
|
||||
- pytest
|
||||
|
||||
code_lint:
|
||||
image: python:3.9
|
||||
image: mquade/poetry:3.9-1.1.11
|
||||
commands:
|
||||
- poetry config virtualenvs.create false
|
||||
- poetry install
|
||||
- black .
|
||||
|
||||
static_analysis:
|
||||
image: python:3.9
|
||||
image: mquade/poetry:3.9-1.1.11
|
||||
commands:
|
||||
- poetry config virtualenvs.create false
|
||||
- poetry install
|
||||
- mypy .
|
||||
|
|
Loading…
Reference in a new issue