Skip to content

Commit

Permalink
[feat]: Turn on test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkodes committed Jan 18, 2024
1 parent b8f6ca4 commit 71fe137
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- uses: actions/checkout@v4

- name: ${{ matrix.name }}
run: swift test
run: swift test --parallel --xunit-output "TestResults-${{ matrix.name }}"

iOS:
name: ${{ matrix.name }}
Expand Down
18 changes: 17 additions & 1 deletion .swiftpm/xcode/xcshareddata/xcschemes/Networking.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,18 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
shouldUseLaunchSchemeArgsEnv = "YES"
codeCoverageEnabled = "YES"
onlyGenerateCoverageForSpecifiedTargets = "YES">
<CodeCoverageTargets>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "Networking"
BuildableName = "Networking"
BlueprintName = "Networking"
ReferencedContainer = "container:">
</BuildableReference>
</CodeCoverageTargets>
<Testables>
<TestableReference
skipped = "NO">
Expand All @@ -37,6 +48,11 @@
BlueprintName = "NetworkingTests"
ReferencedContainer = "container:">
</BuildableReference>
<SkippedTests>
<Test
Identifier = "AssociatedArrayQueryTests">
</Test>
</SkippedTests>
</TestableReference>
</Testables>
</TestAction>
Expand Down

0 comments on commit 71fe137

Please sign in to comment.