This commit is contained in:
+4
-3
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user