Skip to content

Commit 9c781dd

Browse files
0xLeifclaude
andcommitted
test: skip integration tests on CI
Integration tests require Docker and local Algorand node which are not available on GitHub Actions runners. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 5225721 commit 9c781dd

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

Tests/AlgorandTests/ComprehensiveIntegrationTest.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ final class ComprehensiveIntegrationTest: XCTestCase {
1111
override func setUp() async throws {
1212
try await super.setUp()
1313

14+
// Skip integration tests on CI - they require Docker and local Algorand node
15+
guard ProcessInfo.processInfo.environment["CI"] == nil else {
16+
throw XCTSkip("Integration tests require local Algorand node - skipping on CI")
17+
}
18+
1419
let network = ProcessInfo.processInfo.environment["ALGORAND_NETWORK"] ?? "localnet"
1520
guard network == "localnet" else {
1621
throw XCTSkip("Comprehensive test only runs on LocalNet")

Tests/AlgorandTests/IntegrationTests.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ final class IntegrationTests: XCTestCase {
1414
override func setUp() async throws {
1515
try await super.setUp()
1616

17+
// Skip integration tests on CI - they require Docker and local Algorand node
18+
guard ProcessInfo.processInfo.environment["CI"] == nil else {
19+
throw XCTSkip("Integration tests require local Algorand node - skipping on CI")
20+
}
21+
1722
let network = ProcessInfo.processInfo.environment["ALGORAND_NETWORK"] ?? "localnet"
1823
isLocalNet = network == "localnet"
1924

0 commit comments

Comments
 (0)