Status page with all results

This commit is contained in:
southerntofu 2021-01-04 20:59:49 +01:00
parent 73cd765a76
commit 7d569c2fab
2 changed files with 11 additions and 2 deletions

View File

@ -1,4 +1,6 @@
+++
title="Tests status"
title="Test results"
template="status.html"
+++
Here you can find the latest test results for the forge suite. They are run directly on the server, on every new commit.

View File

@ -1,7 +1,14 @@
{% extends "index.html" %}{% import "tests.html" as tests %}
{% 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">
{% 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 %}