Browse Source

Configure coverage

pull/2/head
Chris Smith 7 years ago
parent
commit
4a8407779b
4 changed files with 13 additions and 2 deletions
  1. 8
    0
      .coveragerc
  2. 1
    0
      .gitignore
  3. 2
    0
      requirements.txt
  4. 2
    2
      setup.py

+ 8
- 0
.coveragerc View File

@@ -0,0 +1,8 @@
1
+[run]
2
+branch = True
3
+include = docker_rerun.py
4
+
5
+[report]
6
+precision = 2
7
+show_missing = True
8
+

+ 1
- 0
.gitignore View File

@@ -2,3 +2,4 @@
2 2
 /build
3 3
 /dist
4 4
 /*.egg-info/**
5
+/.coverage

+ 2
- 0
requirements.txt View File

@@ -1,3 +1,5 @@
1
+coverage
1 2
 nose
2 3
 pylint
4
+python-coveralls
3 5
 

+ 2
- 2
setup.py View File

@@ -49,8 +49,8 @@ setup(
49 49
     test_suite='nose.collector',
50 50
 
51 51
     extras_require={
52
-        'dev': [],
53
-        'test': ['coverage', 'nose', 'pylint'],
52
+        'dev': ['pylint'],
53
+        'test': ['coverage', 'nose', 'python-coveralls'],
54 54
     },
55 55
 
56 56
     entry_points={

Loading…
Cancel
Save