feat: finish round1 of dirty dashboard (#2489)

* feat: finish round1 of dirty dashboard

* debug: CICD issue
This commit is contained in:
Andrew Ferlitsch
2023-11-13 17:38:04 +00:00
committed by GitHub
parent 838e72087f
commit 6a61010225
+10 -2
View File
@@ -24,7 +24,15 @@ with open(args.file, 'r') as f:
results = json.load(f)
for item in results.items():
notebook = item[0][len("/notebooks/official/")-1:-6]
if item[1]['passed']:
print(f"{item[0]},PASSED")
passed = "PASS"
else:
print(f"{item[0]},FAILED")
passed = "FAIL"
error = item[1]['error_type']
if error == '' and passed == "FAIL":
error = "undetermined"
print(f"{notebook:75} {passed} {error}")