summaryrefslogtreecommitdiff
path: root/.coveragerc
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2017-06-24 19:21:39 -0400
committerTodd Leonhardt <todd.leonhardt@gmail.com>2017-06-24 19:21:39 -0400
commitf739ebcd9822d484532955cce5c859f5e3f64a2a (patch)
treeaabfeb442c44d909897c80c7930b32f4512eb7ee /.coveragerc
parente118164c2b1366bb8ad61cf3a817155b0ac59df6 (diff)
downloadcmd2-git-f739ebcd9822d484532955cce5c859f5e3f64a2a.tar.gz
Don't try to run a code coverage analysis on PyPy
Running a code coverage analysis takes forever on pypy and twice forever for pypy3, so don't try. Also try to get codecov working with AppVeyor
Diffstat (limited to '.coveragerc')
-rw-r--r--.coveragerc6
1 files changed, 3 insertions, 3 deletions
diff --git a/.coveragerc b/.coveragerc
index e354ad42..ea915f7c 100644
--- a/.coveragerc
+++ b/.coveragerc
@@ -13,10 +13,10 @@ exclude_lines =
# Don't complain if non-runnable code isn't run:
if __name__ == .__main__.:
- # Don't complain about OS-specific code for other OSes (excludes Windows and Mac, includes Linux)
- if sys\.platform
+ # Don't complain about macOS-specific code until we have a CI platform that builds on macOS
+ if sys\.platform == 'darwin':
-# (integer): the number of digits after the decimal point to display for reported coverage percentages.
+# (integer): the number of digits after the decimal point to display for reported coverage percentages.
precision = 1