aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'buildbot_gentoo_ci/steps/builders.py')
-rw-r--r--buildbot_gentoo_ci/steps/builders.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/buildbot_gentoo_ci/steps/builders.py b/buildbot_gentoo_ci/steps/builders.py
index 3b6a8d0..00980e3 100644
--- a/buildbot_gentoo_ci/steps/builders.py
+++ b/buildbot_gentoo_ci/steps/builders.py
@@ -1296,6 +1296,16 @@ class SetupStepts(BuildStep):
if build:
yield log.addStdout('Runing Build: YES\n')
aftersteps_list.append(RunBuild())
+ # run tests
+ test = False
+ if self.getProperty('projectrepository_data')['test']:
+ test = True
+ if self.getProperty('projectrepository_data')['test_mr'] and self.getProperty("event") == 'merge_request':
+ test = True
+ if test:
+ yield log.addStdout('Runing Test: YES\n')
+ else:
+ yield log.addStdout('Runing Test: NO\n')
# run eclean pkg and dist
#if build:
#f.addStep(builders.RunEclean(step='pkg')