mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-06-01 16:19:28 +00:00
Make summary more readable
This commit is contained in:
parent
2a514e379c
commit
63a16e249a
2
.github/scripts/generate_test_summary.py
vendored
2
.github/scripts/generate_test_summary.py
vendored
@ -76,7 +76,7 @@ def log_url(fixture):
|
||||
passed = sum(1 for s in fixtures.values() if s == "Passed")
|
||||
total = len(fixtures)
|
||||
|
||||
lines = ["## Test logs", ""]
|
||||
lines = ["## Test logs", "", "Filtered run logs by fixture", ""]
|
||||
for fixture in order:
|
||||
icon = "✅" if fixtures[fixture] == "Passed" else "❌"
|
||||
lines.append(f"- {icon} [{fixture}]({log_url(fixture)})")
|
||||
|
||||
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@ -324,11 +324,12 @@ jobs:
|
||||
echo "" >> "$GITHUB_STEP_SUMMARY"
|
||||
echo "[Logs for entire run]($URL)" >> "$GITHUB_STEP_SUMMARY"
|
||||
echo "" >> "$GITHUB_STEP_SUMMARY"
|
||||
echo "Filter: \`labels.\"k8s-pod/runid\"=\"${RUNID}\"\`" >> "$GITHUB_STEP_SUMMARY"
|
||||
echo "Note: To see the runner logs, add filter `resource.labels.container_name="runner"`" >> "$GITHUB_STEP_SUMMARY"
|
||||
echo "> [!TIP]" >> "$GITHUB_STEP_SUMMARY"
|
||||
echo "> To see the runner logs, add filter \`resource.labels.container_name=\"runner\"\` or use the filters on the left-side panel" >> "$GITHUB_STEP_SUMMARY"
|
||||
echo "" >> "$GITHUB_STEP_SUMMARY"
|
||||
LOG_RETENTION_DATE=$(date -u -d "${JOB_START_TIME} + 30 days" +"%Y-%m-%dT%H:%M:%SZ")
|
||||
echo "Note: Logs are retained until ${LOG_RETENTION_DATE} (30 days)" >> "$GITHUB_STEP_SUMMARY"
|
||||
echo "> [!IMPORTANT]" >> "$GITHUB_STEP_SUMMARY"
|
||||
echo "> Logs are retained until ${LOG_RETENTION_DATE} UTC (30 days)" >> "$GITHUB_STEP_SUMMARY"
|
||||
|
||||
- name: Wait for runner pod to start
|
||||
run: |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user