16 lines
664 B
HTML
16 lines
664 B
HTML
{% extends "page.html" %}{% import "tests.html" as tests %}
|
|
{% block title %}{{ page.title }}{% endblock title %}
|
|
{% block main %}
|
|
{{ super() }}
|
|
{% if config.extra.tests.pipelines %}
|
|
<aside class="widget-tests">
|
|
<p style="text-align: center;">->{% for pipeline_name, _ in config.extra.tests.pipelines %} <a href="#{{ pipeline_name }}">{{ pipeline_name }}</a>{% else %} {% endfor %} <-</p>
|
|
{% for pipeline_name, _ in config.extra.tests.pipelines %}
|
|
{{ tests::pipeline(directory=config.extra.tests.directory, name=pipeline_name) }}
|
|
{% endfor %}
|
|
</aside>
|
|
{% else %}
|
|
<h2>No test pipeline configured in config.extra.tests.pipelines</h2>
|
|
{% endif %}
|
|
{% endblock main %}
|