diff --git a/tools/ci/report.py b/tools/ci/report.py index 93229ebb..93dc40a4 100644 --- a/tools/ci/report.py +++ b/tools/ci/report.py @@ -22,7 +22,7 @@ exit(0) else: message = template + f" ❌ Test Failed! \n 📊 {test_success}/{test_nums} \n" - for test in report.get("testcases", []): + for test in report.get("testsuites", []): if len(test.get("failures", [])) > 0: failures = test.get("failures", []) message += f"❌ {test.get('classname', 'unknown')}.{test.get('name', 'unknown')} \n"