Added ci workflows
This commit is contained in:
@@ -53,12 +53,14 @@ final class GitVersionTests: XCTestCase {
|
||||
.gitCurrentBranch(gitDirectory: gitDir),
|
||||
trimmingCharactersIn: .whitespacesAndNewlines
|
||||
)
|
||||
print("BRANCH: \(branch)")
|
||||
XCTAssertEqual(branch, "main")
|
||||
|
||||
let commit = try shellClient.background(
|
||||
.gitCurrentSha(gitDirectory: gitDir),
|
||||
trimmingCharactersIn: .whitespacesAndNewlines
|
||||
)
|
||||
print("COMMIT: \(commit)")
|
||||
XCTAssertNotEqual(commit, "")
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user