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.
24 lines
584 B
24 lines
584 B
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
# shellcheck disable=SC2034
|
|
export PIPENV_VERBOSITY=-1
|
|
|
|
pipenv run python3 --version
|
|
pipenv run python3 -m pip --version
|
|
|
|
pipenv run pylint --version
|
|
pipenv run mypy --version
|
|
pipenv run coverage --version
|
|
pipenv run pytest --version
|
|
pipenv run pycodestyle --version
|
|
pipenv run pydocstyle --version
|
|
|
|
pipenv run pylint server
|
|
pipenv run mypy server tests
|
|
PYTHONPATH=$(pwd) pipenv run coverage run --source server -m pytest
|
|
pipenv run coverage report --fail-under=85 -m --skip-covered
|
|
pipenv run pycodestyle server tests
|
|
pipenv run pydocstyle server
|