diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index c219ad3..e23c3f6 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -7,6 +7,7 @@ set -o pipefail bandit -r vcert/ # ID 40291 is pip, ignore so we can still test python 2.7 -safety check -i 40291 +#Ignoring false-positive issue with pytest. ref: https://github.com/pytest-dev/py/issues/287 +safety check -i 40291 -i 51457 pytest -v --junit-xml=junit.xml --junit-prefix=`python -V | tr ' ' '_'` --cov=vcert --cov=vcert.parser --cov=vcert.policy --cov-report term --cov-report xml