-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from finestructure/issue-38
Issue 38
- Loading branch information
Showing
11 changed files
with
138 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
5.1.3 | ||
5.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,11 +26,11 @@ class IntegrationTests: XCTestCase { | |
try arena.run() | ||
|
||
let expectation = """ | ||
➡️ Package: https://github.com/finestructure/ArenaTest @ exact(0.0.3) | ||
🔧 Resolving package dependencies ... | ||
📔 Libraries found: ArenaTest | ||
🔨 Building package dependencies ... | ||
✅ Created project in folder 'ArenaIntegrationTest' | ||
➡️ Package: https://github.com/finestructure/ArenaTest @ exact(0.0.3) | ||
🔧 Resolving package dependencies ... | ||
📔 Libraries found: ArenaTest | ||
🔨 Building package dependencies ... | ||
✅ Created project in folder 'ArenaIntegrationTest' | ||
Run | ||
open ArenaIntegrationTest/ArenaIntegrationTest.xcworkspace | ||
to open the project in Xcode | ||
|
@@ -47,5 +47,30 @@ class IntegrationTests: XCTestCase { | |
} | ||
#endif | ||
|
||
#if swift(>=5.2) | ||
func test_Gen() throws { | ||
try XCTSkipUnless(ProcessInfo().hostName == "luna.local", "fails on CI, only run locally") | ||
|
||
let arena = try Arena.parse([ | ||
"https://github.com/pointfreeco/[email protected]", | ||
"--name=ArenaIntegrationTest", | ||
"--force", | ||
"--skip-open"]) | ||
|
||
let exp = self.expectation(description: "exp") | ||
|
||
let progress: ProgressUpdate = { stage, _ in | ||
print("progress: \(stage)") | ||
if stage == .completed { | ||
exp.fulfill() | ||
} | ||
} | ||
|
||
try arena.run(progress: progress) | ||
|
||
wait(for: [exp], timeout: 10) | ||
} | ||
#endif | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters