From 7a3a6dd01cf1180bc33b8e6b1224d9cf595dbe57 Mon Sep 17 00:00:00 2001 From: Bin Yang Date: Wed, 11 Dec 2019 07:06:49 +0000 Subject: [PATCH] Fix coverage exclude pattern issue Change-Id: Ibaa3a80ecbafb85ef09e183e2c900b072759e5e6 Issue-ID: MULTICLOUD-963 Signed-off-by: Bin Yang --- azure/pom.xml | 2 +- azure/tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/azure/pom.xml b/azure/pom.xml index 19fd890..47e9013 100644 --- a/azure/pom.xml +++ b/azure/pom.xml @@ -37,7 +37,7 @@ py Python **/*.py - **/tests/*,setup.py,**/azure/aria/** + **/venv-tox/**,**/.tox/**, **/aria/**, **/tests/*,setup.py diff --git a/azure/tox.ini b/azure/tox.ini index bae09d9..8ee4eca 100644 --- a/azure/tox.ini +++ b/azure/tox.ini @@ -32,4 +32,4 @@ setenv= commands = coverage erase {[testenv]commands} - coverage xml -i + coverage xml -i --omit="./venv-tox/*,./.tox/*,*tests*,*/aria/*, *site-packages*" -- 2.16.6