mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 20:39:24 +00:00
Annotate failures for Github Actions so they're easier to spot.
This commit is contained in:
@@ -59,6 +59,7 @@ struct UnitTests: AsyncParsableCommand {
|
||||
if !failures.isEmpty {
|
||||
let failedSuites = "[\(failures.joined(separator: ","))]"
|
||||
logger.error("\n❌ \(failures.count) test suite(s) failed \(failedSuites)\n")
|
||||
CI.annotateError(title: "\(failures.count) test suite(s) failed", "Failing suites: \(failedSuites). Download the artifacts for the xcresult bundles.")
|
||||
throw ExitCode.failure
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user