chore: cleanup everything

This commit is contained in:
Paul Pfeister 2025-09-20 18:09:44 -04:00
parent 7ca90ba728
commit 0fa2e1afc7
No known key found for this signature in database
GPG Key ID: 70D33A96CBD7A994
2 changed files with 2 additions and 4 deletions

View File

@ -73,13 +73,11 @@ jobs:
id: prepare-summary
run: |
$(poetry env activate)
python devel/summarize_site_validation.py validation_results.xml
summary=$(
python devel/summarize_site_validation.py validation_results.xml || echo "Failed to generate summary of test results"
)
deactivate
echo "$summary" > validation_summary.md
cat validation_summary.md
- name: Announce validation results
if: steps.discover-modified.outputs.changed_targets != ''

View File

@ -19,7 +19,7 @@ def summarize_junit_xml(xml_path: Path) -> str:
summary_lines: list[str] = []
summary_lines.append("#### Automatic validation of changes\n")
summary_lines.append("| | F- Check | F+ Check |")
summary_lines.append("| Target | F+ Check | F- Check |")
summary_lines.append("|---|---|---|")
failures = int(suite.get('failures', 0))
@ -45,7 +45,7 @@ def summarize_junit_xml(xml_path: Path) -> str:
errors_detected = True
for result in results:
summary_lines.append(f"| {result} | {results[result].get('F- Check', 'Error!')} | {results[result].get('F+ Check', 'Error!')} |")
summary_lines.append(f"| {result} | {results[result].get('F+ Check', 'Error!')} | {results[result].get('F- Check', 'Error!')} |")
if failures > 0:
summary_lines.append("\n___\n" +