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