2021-09-28 23:49:22 +02:00
|
|
|
image: python:3.7
|
|
|
|
|
|
|
|
stages:
|
|
|
|
- static
|
|
|
|
- test
|
|
|
|
|
2021-09-28 23:56:27 +02:00
|
|
|
mypy:
|
2021-09-28 23:49:22 +02:00
|
|
|
stage: static
|
|
|
|
before_script:
|
|
|
|
- pip install mypy
|
|
|
|
script:
|
|
|
|
- mypy techrec
|
2021-09-28 23:56:27 +02:00
|
|
|
|
|
|
|
test:
|
|
|
|
stage: test
|
|
|
|
before_script:
|
2021-09-29 00:37:10 +02:00
|
|
|
- pip install pytest pytest-asyncio
|
2021-09-28 23:56:27 +02:00
|
|
|
- pip install -r requirements.txt
|
2021-09-29 00:37:10 +02:00
|
|
|
- mkdir techrec/output
|
2021-09-28 23:56:27 +02:00
|
|
|
script:
|
2021-09-29 00:30:31 +02:00
|
|
|
- pytest
|