Skip to content

Commit

Permalink
remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
bernt-matthias committed Jul 1, 2024
1 parent 59e5ae5 commit 1bedb30
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions planemo/reports/report_markdown_minimal.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -29,25 +29,16 @@
| Failure | {{ state.failure }} |
| Skipped | {{ state.skipped }} |


{% set display_job_attributes = {'command_line': 'Command Line', 'exit_code': 'Exit Code', 'stderr': 'Standard Error', 'stdout': 'Standard Output', 'traceback': 'Traceback'} %}
{% for status, desc in {'error': 'Errored', 'failure': 'Failed', 'success': 'Passed'}.items() if state[status]%}
{% set expanded = "open" if status in ("error", "failure") else "" %}
<details {{ expanded }}><summary>{{ desc }} {{ execution_type }}s</summary>
{% for test in raw_data.tests %}
{% if test.data.status == status %}
{% if test.data.status == 'success' %}

* <details class="rcorners light-green"><summary class="light-green">&#9989; {{ test.id|replace("#","# ") }}</summary>

* <summary class="light-green">&#9989; {{ test.id|replace("#","# ") }}</summary>
{% else %}

* <details class="rcorners light-red"><summary class="light-red">&#10060; {{ test.id|replace("#","# ") }}</summary>

* <summary class="light-red">&#10060; {{ test.id|replace("#","# ") }}</summary>
{% endif %}

</details>

{% endif %}
{% endfor %}

Expand Down

0 comments on commit 1bedb30

Please sign in to comment.