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.

19 lines
463 B

  1. stages:
  2. - test
  3. Atheneum: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. - pycodestyle corvus tests
  14. - mypy corvus tests
  15. - PYTHONPATH=$(pwd) coverage run --source corvus -m pytest
  16. - coverage report --fail-under=85 -m --skip-covered
  17. tags:
  18. - docker