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.

30 lines
782 B

  1. SET PIPENV_VERBOSITY=-1
  2. SET PYTHONPATH=%cd%
  3. pipenv run python3 --version
  4. pipenv run python3 -m pip --version
  5. pipenv run pylint --version
  6. pipenv run mypy --version
  7. pipenv run coverage --version
  8. pipenv run pytest --version
  9. pipenv run pycodestyle --version
  10. pipenv run pydocstyle --version
  11. pipenv run pylint corvus
  12. if %errorlevel% neq 0 exit /b %errorlevel%
  13. pipenv run mypy corvus tests
  14. if %errorlevel% neq 0 exit /b %errorlevel%
  15. pipenv run coverage run --source corvus -m pytest
  16. if %errorlevel% neq 0 exit /b %errorlevel%
  17. pipenv run coverage report --fail-under=85 -m --skip-covered
  18. if %errorlevel% neq 0 exit /b %errorlevel%
  19. pipenv run pycodestyle corvus tests
  20. if %errorlevel% neq 0 exit /b %errorlevel%
  21. pipenv run pydocstyle corvus
  22. if %errorlevel% neq 0 exit /b %errorlevel%