[ci] Improve wording in CI test reports

We weren't saying where to click, make it clear you click on a
test name.
This commit is contained in:
David Spickett 2025-04-10 09:17:25 +00:00
parent 785e7f06dd
commit d9cfd90524
2 changed files with 6 additions and 3 deletions

View File

@ -92,7 +92,7 @@ def generate_report(
]
)
elif failures:
report.extend(["", "## Failed Tests", "(click to see output)"])
report.extend(["", "## Failed Tests", "(click on a test name to see its output)"])
for testsuite_name, failures in failures.items():
report.extend(["", f"### {testsuite_name}"])

View File

@ -2,6 +2,9 @@
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# To run these tests:
# python -m unittest generate_test_report_lib_test.py
import unittest
from io import StringIO
from textwrap import dedent
@ -150,7 +153,7 @@ class TestReports(unittest.TestCase):
* 2 tests failed
## Failed Tests
(click to see output)
(click on a test name to see its output)
### Bar
<details>
@ -182,7 +185,7 @@ class TestReports(unittest.TestCase):
* 2 tests failed
## Failed Tests
(click to see output)
(click on a test name to see its output)
### ABC
<details>