diff --git a/conftest.py b/conftest.py index d59aa171..4dc52630 100644 --- a/conftest.py +++ b/conftest.py @@ -18,7 +18,6 @@ def pytest_runtest_makereport(item, call): entry["params"] = request.funcargs runtime_params.append(entry) - -def pytest_sessionfinish(session, exitstatus): + with open("ci-reports/markdown/runtime_params.json", "w") as f: json.dump(runtime_params, f, indent=2)