diff options
| author | Maxim Yurchuk <[email protected]> | 2024-07-24 16:45:38 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-07-24 16:45:38 +0300 |
| commit | 4ee00820ee830aceacfe30dc30e2a6c5e3c889d4 (patch) | |
| tree | ccff2d2b81ee9b106f6bf92d540699632b5a0f8b /.github/scripts/tests | |
| parent | 006fe831ffead8cf7d187192b5ee30e7dcec2bba (diff) | |
Treat 'no test run' as success (#7036)
Diffstat (limited to '.github/scripts/tests')
| -rwxr-xr-x | .github/scripts/tests/generate-summary.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/scripts/tests/generate-summary.py b/.github/scripts/tests/generate-summary.py index 0bd1584b8d1..8b7a63bc3dd 100755 --- a/.github/scripts/tests/generate-summary.py +++ b/.github/scripts/tests/generate-summary.py @@ -263,7 +263,7 @@ def write_summary(summary: TestSummary): fp = sys.stdout if summary.is_empty: - fp.write(f":red_circle: Test run completed, no test results found. Please check ya make output.") + fp.write(f"Test run completed, no test results found") else: for line in summary.render(add_footnote=True): fp.write(f"{line}\n") @@ -363,7 +363,7 @@ def main(): summary = gen_summary(args.public_dir, args.public_dir_url, title_path, is_retry=bool(args.is_retry)) write_summary(summary) - if summary.is_empty | summary.is_failed: + if summary.is_failed: color = 'red' overall_status = "failure" else: |
