Skip to content

Commit 3c9b105

Browse files
authored
Merge pull request #95 from Venafi/coverage
Implementing integration with sonarcloud
2 parents aba3c36 + 7f60f4b commit 3c9b105

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 --cov=vcert.parser --cov=vcert.policy --cov-report term --cov-report xml

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)