From ba29cc5917fdaea5750196bd10e329e272db51a9 Mon Sep 17 00:00:00 2001 From: fiestared Date: Thu, 31 Oct 2019 16:37:45 +0900 Subject: [PATCH] Add showing-coverage on exec_test.py --- .gitignore | 1 + exec_test.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index f381f0ab..a6f1472a 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ update_function.sh tmp_tests tests/**/database.yaml tests/**/__pycache__ +.coverage # editor .idea diff --git a/exec_test.py b/exec_test.py index e4142cbc..10980967 100644 --- a/exec_test.py +++ b/exec_test.py @@ -15,7 +15,7 @@ def exec_test(target_dir): print(target_dir) exit_status = 0 try: - subprocess.check_call(['green', '-vv', '--processes', '1', target_dir]) + subprocess.check_call(['green', '-vv', '--processes', '1', '--run-coverage', target_dir]) except subprocess.CalledProcessError: exit_status = 1