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