neohubapi/.gitlab-ci.yml

17 lines
330 B
YAML
Raw Permalink Normal View History

image: "python:3.8"
before_script:
- python --version
2022-12-01 20:33:33 +00:00
- pip3 install flake8 pytest-asyncio async_property websockets
stages:
2021-02-07 16:42:52 +00:00
- test
2021-02-07 16:42:52 +00:00
test:
stage: test
script:
- flake8 --max-line-length=120 neohubapi/*.py
2021-02-07 16:42:52 +00:00
- flake8 --max-line-length=120 tests/*.py
- flake8 --max-line-length=120 scripts/*.py
2021-02-07 16:42:52 +00:00
- python -m pytest