Skip to content

Commit 81627b4

Browse files
committed
Adds coveralls badge to repo
Issues: Fixes #547 Problem: The f5-sdk codebase can run coverage tests, but there is no easy reporting of these results. Analysis: The Coveralls.io service has been setup for the f5-common-python test. This change to the README is to add the badge for coveralls so that developers can easily see what the coverage tests currently result in Tests: None
1 parent cbb8782 commit 81627b4

3 files changed

Lines changed: 15 additions & 1 deletion

File tree

.coveragerc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[run]
2+
omit =
3+
# omit all functional tests
4+
tests/*
5+
# omit anything in a test directory anywhere
6+
*/test/*
7+
# omit the devtools
8+
devtools/*
9+
# omit the conftest?
10+
conftest.py

README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,3 +222,6 @@ project.
222222
:target: https://f5-openstack-slack.herokuapp.com/
223223
:alt: Slack
224224

225+
.. |coveralls| image:: https://coveralls.io/repos/github/F5Networks/f5-common-python/badge.svg
226+
:target: https://coveralls.io/github/F5Networks/f5-common-python
227+
:alt: Coveralls

requirements.test.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ hacking==0.10.2
77
mock==1.3.0
88
pytest==2.9.1
99
pytest-cov>=2.2.1
10-
git+https://github.com/F5Networks/pytest-symbols.git
10+
git+https://github.com/F5Networks/pytest-symbols.git
11+
python-coveralls

0 commit comments

Comments
 (0)