Skip to content

Commit

Permalink
Output text
Browse files Browse the repository at this point in the history
  • Loading branch information
Sleitnick committed Dec 10, 2024
1 parent 1aac46e commit 5f60f70
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion ci/Test.luau
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,12 @@ function Test.run(ancestors: { Instance })
end
Output(res.Group, 0)
end
print(table.concat(output, "\n"))
local outputTxt = table.concat(output, "\n")

return {
Results = results,
AllPass = allPass,
Output = outputTxt,
}
end

Expand Down
8 changes: 4 additions & 4 deletions run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ def run_tests():
if state == "CANCELLED":
exit(1)
elif state == "COMPLETE":
print(res_json)

# TODO: Format 'res_json' in a pretty way to show what failed and what succeeded
result = res_json["output"]["results"][0]
all_pass = result["AllPass"]

print(result["Output"])

all_pass = res_json["output"]["results"][0]["AllPass"]
if not all_pass:
exit(1)

Expand Down

0 comments on commit 5f60f70

Please sign in to comment.