Skip to content

Commit ba549fe

Browse files
committed
-Added test coverage support
1 parent c5ba498 commit ba549fe

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ bandit -r vcert/
99
# ID 40291 is pip, ignore so we can still test python 2.7
1010
safety check -i 40291
1111

12-
py.test -v --junit-xml=junit.xml --junit-prefix=`python -V | tr ' ' '_'`
12+
pytest -v --junit-xml=junit.xml --junit-prefix=`python -V | tr ' ' '_'` --cov=vcert-python

requirements-build.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
pytest==6.2.5
2+
pytest-cov==3.0.0
23
safety==1.10.3
3-
bandit==1.7.1
4+
bandit==1.7.1

0 commit comments

Comments
 (0)