Annotate failures for Github Actions so they're easier to spot.

This commit is contained in:
Stefan Ceriu
2026-08-10 19:35:36 +03:00
parent b829c6a06f
commit 42a7b6e8ee
7 changed files with 19 additions and 0 deletions
+1
View File
@@ -61,6 +61,7 @@ struct UITests: AsyncParsableCommand {
} catch {
testsFailed = true
print("\n❌ UI tests (\(deviceType.rawValue)) failed.\n")
CI.annotateError(title: "UI tests (\(deviceType.rawValue)) failed", "Download the artifacts for the xcresult bundle.")
}
await CI.zipResults(bundles: ["UITests.xcresult"],