Files
codex-security/.github/scripts/require_native_python_report.py

8 lines
296 B
Python

from xml.etree import ElementTree
report = ElementTree.parse("reports/python.xml")
if report.find(".//testcase") is None:
raise SystemExit("No native platform tests ran")
if report.find(".//testcase/skipped") is not None:
raise SystemExit("Native platform tests must run without skips")