From 1f1731ba93395c98475cd6471813f5cd951e5911 Mon Sep 17 00:00:00 2001 From: Luis Presuel Date: Thu, 5 Dec 2024 16:05:54 -0600 Subject: [PATCH] returns scan --- docker-entrypoint.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 123fdf8..e23c3f6 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -6,4 +6,8 @@ set -o pipefail bandit -r vcert/ +# ID 40291 is pip, ignore so we can still test python 2.7 +#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