]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
ignore coverage parse errors
authorDavid Lord <davidism@gmail.com>
Sat, 20 Jul 2019 20:52:19 +0000 (13:52 -0700)
committerDavid Lord <davidism@gmail.com>
Sat, 20 Jul 2019 20:52:19 +0000 (13:52 -0700)
Azure has Python 2.7.15 and Python 3.5.5, which can't parse async code.
Later patch versions can parse it fine, so this can be removed if
Azure updates.

tox.ini

diff --git a/tox.ini b/tox.ini
index fcabc6b1bb2cba988673f66309b859f202860d0c..b4e3afdc0543113e0245f7c92a266e6f1e7802d9 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -31,4 +31,5 @@ deps = coverage
 skip_install = true
 commands =
     coverage combine
-    coverage xml
+    # Ignoring errors because 2.7.15 and 3.5.5 on Azure can't parse async files.
+    coverage xml --ignore-errors