diff --git a/conftest.py b/conftest.py index d8aaa031..19a051fc 100644 --- a/conftest.py +++ b/conftest.py @@ -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)