summaryrefslogtreecommitdiffstats
path: root/templates/tests/ci.jinja2
diff options
context:
space:
mode:
Diffstat (limited to 'templates/tests/ci.jinja2')
-rw-r--r--templates/tests/ci.jinja27
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/tests/ci.jinja2 b/templates/tests/ci.jinja2
index feca60e..b5974fc 100644
--- a/templates/tests/ci.jinja2
+++ b/templates/tests/ci.jinja2
@@ -18,9 +18,12 @@
history: False
path: test-suites/short-smoke/service-check.yaml
name: service-check
+{%- if DEVICE_TAGS %}
parameters:
- DEVICE_TAGS: "{{ DEVICE_TAGS }}"
-{% if "CAN" in DEVICE_TAGS %}
+ DEVICE_TAGS: "{{ DEVICE_TAGS|join(' ')|lower }}"
+{%- endif -%}
+
+{% if "can" in DEVICE_TAGS|lower %}
{% include 'tests/can.jinja2' %}
{% endif %}