We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db1c0b2 commit 6eb6a90Copy full SHA for 6eb6a90
1 file changed
.github/scripts/run_example.py
@@ -579,7 +579,20 @@ def main():
579
580
expect_sha = args.expect_sha
581
if expect_sha:
582
- assert_identity(expect_sha)
+ try:
583
+ assert_identity(expect_sha)
584
+ except BaseException as e:
585
+ # Exiting here with no results file makes triage read the job as
586
+ # never-ran rather than failed, so leave it a row first.
587
+ if args.results:
588
+ Path(args.results).write_text(json.dumps([{
589
+ "id": args.only or "(all)",
590
+ "target": "identity-gate",
591
+ "status": "fail",
592
+ "detail": str(e),
593
+ "ref": args.wolfssl_ref,
594
+ }], indent=2))
595
+ raise
596
597
results = []
598
ok = True
0 commit comments