Skip to content

Commit

Permalink
Run tests in Carthage compatible way (#346)
Browse files Browse the repository at this point in the history
  • Loading branch information
brentleyjones authored Jun 18, 2020
1 parent 962f9a2 commit 1454bc4
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 7 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ before_script:
matrix:
include:
- name: "NeedleFoundationTests"
script: xcodebuild test -project NeedleFoundation.xcodeproj -scheme NeedleFoundationTests -destination 'platform=iOS Simulator,OS=13.2.2,name=iPhone 11'
- name: "NeedleFoundationTestTests"
script: xcodebuild test -project NeedleFoundation.xcodeproj -scheme NeedleFoundationTestTests -destination 'platform=iOS Simulator,OS=13.2.2,name=iPhone 11'
script: xcodebuild test -project NeedleFoundation.xcodeproj -scheme NeedleFoundation -destination 'platform=iOS Simulator,OS=13.2.2,name=iPhone 11'
- name: "NeedleGeneratorTests"
script: cd Generator && swift test -Xswiftc -DDEBUG
- name: "NeedleGeneratorBinary"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,27 @@
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "NeedleFoundation::NeedleFoundationTests"
BuildableName = "NeedleFoundationTests.xctest"
BlueprintName = "NeedleFoundationTests"
ReferencedContainer = "container:NeedleFoundation.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "NeedleFoundation::NeedleFoundationTestTests"
BuildableName = "NeedleFoundationTestTests.xctest"
BlueprintName = "NeedleFoundationTestTests"
ReferencedContainer = "container:NeedleFoundation.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
Expand All @@ -51,8 +69,6 @@
ReferencedContainer = "container:NeedleFoundation.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand Down

0 comments on commit 1454bc4

Please sign in to comment.