From 5471e238ba55484030f52c1facab78708b737a5d Mon Sep 17 00:00:00 2001 From: Tomas Baca Date: Sat, 2 Dec 2023 17:59:50 +0100 Subject: [PATCH] fixed parsing --- .ci/parse_yaml.py | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.ci/parse_yaml.py b/.ci/parse_yaml.py index 4233e349ab..67ebdf8a10 100755 --- a/.ci/parse_yaml.py +++ b/.ci/parse_yaml.py @@ -31,7 +31,7 @@ def main(): stable_ref = "none" testing_ref = "none" unstable_ref = "none" - ros_test = False + ros_test_enabled = False full_coverage = False refs = properties['git_refs'] @@ -51,15 +51,18 @@ def main(): except: pass - ros_test = properties['ros_test'] - try: - ros_test_enabled = bool(ros_test['enabled']) - except: - pass + ros_test = properties['ros_test'] - try: - full_coverage = bool(ros_test['full_test_coverage']) + try: + ros_test_enabled = bool(ros_test['enabled']) + except: + pass + + try: + full_coverage = bool(ros_test['full_test_coverage']) + except: + pass except: pass