{% extends "base.html" %}
{% import "repo_tabs.html" as m %}
{% block title %}Tests · {{ repo.owner }}/{{ repo.name }}{% endblock %}
{% block tabs %}{% call m::tabs(repo, "tests") %}{% endblock %}
{% block content %}
{% if let Some(r) = report %}
Tests
{{ c.title }}{{ c.title }}None: every test kept its result.
{% else %}{{ f.title() }} | {{ f.failed }} ✕ {{ f.passed }} ✓ |
{{ f.title() }} history{% if !f.message.is_empty() %} {{ f.message }}{% endif %}{{ f.output }}{% endif %}
| Test | Time |
|---|---|
{{ c.title() }}{% if c.status != "passed" %} {{ c.status }}{% endif %} | {{ self.time(c.time_ms) }} |
| Run | Job | Passing | Tests | Failed | Time | When |
|---|---|---|---|---|---|---|
| #{{ x.report.run_number }} | {{ x.report.job }} | {{ self.rate(x.report) }} | {{ x.report.tests }}{% if let Some(d) = x.delta %}{% if *d != 0 %} {{ self.signed(d) }}{% endif %}{% endif %} | {% if x.report.broken() > 0 %}{{ x.report.broken() }}{% else %}0{% endif %} | {{ self.time(x.report.time_ms) }} |
No test report for {{ bookmark }} yet.
Give a job in .flow/pipeline.kdl an artifact named junit holding a JUnit XML report, kept with when "always" so a failing run still sends it. For pytest:
job "test" {
sandbox "python"
exec "pytest" "--junitxml=/src/out/junit.xml"
output {
artifact "junit" {
path "/src/out/junit.xml"
when "always"
}
}
}
cargo-nextest (a junit profile), Jest's junit reporter and gotestsum write JUnit XML too.