aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting/ci/run_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'xtesting/ci/run_tests.py')
-rw-r--r--xtesting/ci/run_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/xtesting/ci/run_tests.py b/xtesting/ci/run_tests.py
index 7379f092..d884a7d8 100644
--- a/xtesting/ci/run_tests.py
+++ b/xtesting/ci/run_tests.py
@@ -173,14 +173,14 @@ class Runner(object):
test_case.run(**kwargs)
except KeyError:
test_case.run()
- if self.report_flag:
- test_case.push_to_db()
result = test_case.is_successful()
LOGGER.info("Test result:\n\n%s\n", test_case)
if self.clean_flag:
test_case.clean()
if self.push_flag:
test_case.publish_artifacts()
+ if self.report_flag:
+ test_case.push_to_db()
except ImportError:
LOGGER.exception("Cannot import module %s", run_dict['module'])
except AttributeError: