Skip to content

Commit

Permalink
bail report on no data
Browse files Browse the repository at this point in the history
  • Loading branch information
eskerda committed Sep 17, 2024
1 parent 99325d2 commit 93bc994
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions utils/github-summary.tpl.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# systems status report (Python {{ version }})

{% if systems %}
| overall success rate | {{ int((health.passed / health.total) * 100) }}% |
|-|-|
| passed | {{ health.passed }} |
Expand Down Expand Up @@ -55,3 +56,6 @@
{% endfor %}
{% endfor %}
{% endfor %}
{% else %}
No systems
{% endif %}
4 changes: 4 additions & 0 deletions utils/report.tpl.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# systems status report (Python {{ version }})
{% if systems %}

| overall success rate | {{ int((health.passed / health.total) * 100) }}% |
|-|-|
Expand Down Expand Up @@ -54,3 +55,6 @@
{% endfor %}
{% endfor %}
{% endfor %}
{% else %}
No systems
{% endif %}

0 comments on commit 93bc994

Please sign in to comment.