Added ci workflows

This commit is contained in:
2023-03-15 14:20:29 -04:00
parent 8fd931e217
commit 8abdafbd72

View File

@@ -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, "")
}