A multipurpose python flask API server and administration SPA
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
505 B

  1. stages:
  2. - test
  3. Corvus:Tests:
  4. image: python:3.6-slim-stretch
  5. stage: test
  6. script:
  7. - python3 --version
  8. - python3 -m pip --version
  9. - python3 -m pip install pipenv
  10. - python3 -m pipenv --version
  11. - cd server
  12. - pipenv install --dev --system
  13. - pylint corvus
  14. - mypy corvus tests
  15. - PYTHONPATH=$(pwd) coverage run --source corvus -m pytest
  16. - coverage report --fail-under=85 -m --skip-covered
  17. - pycodestyle corvus tests
  18. - pydocstyle corvus
  19. tags:
  20. - docker