Update conftest.py
Run Pytest with HTML and XML Test Reports / tests (push) Successful in 25s

This commit is contained in:
2025-07-17 10:52:07 +02:00
parent 9102e40e2d
commit 3d3373f4c5
+4 -3
View File
@@ -54,7 +54,8 @@ def pytest_runtest_logreport(report):
except Exception:
pass
def pytest_unconfigure(config):
def pytest_sessionfinish(session, exitstatus):
os.makedirs("ci-reports/markdown", exist_ok=True)
with open("ci-reports/markdown/_everything_pytest_saw.json", "w") as f:
json.dump(ALL_PYTEST_DATA, f, indent=2)
print("✅ Dumping runtime_params.json...")
with open("ci-reports/markdown/runtime_params.json", "w") as f:
json.dump(runtime_params, f, indent=2)