Skip to content

Commit

Permalink
skip cardservice login in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kiliankoe committed Nov 15, 2024
1 parent 7600373 commit cf86d15
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Tests/APIValidationTests/CardserviceAPITests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ class CardserviceAPITests: XCTestCase {
}

func testLoginSuccess() async throws {
if ProcessInfo.processInfo.environment["CI"] != nil {
print("Skipping successful login test in CI.")
return
}
_ = try await Cardservice.login(username: username, password: password)
}

Expand Down

0 comments on commit cf86d15

Please sign in to comment.