Skip to content

Commit

Permalink
fixed parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Dec 2, 2023
1 parent 1d27851 commit 5471e23
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .ci/parse_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand All @@ -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

Expand Down

0 comments on commit 5471e23

Please sign in to comment.