Skip to content

Commit 6c94d22

Browse files
Restrict testing target to unit tests and enable testing.
1 parent 4ee870a commit 6c94d22

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

.github/workflows/spm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ jobs:
4343
run: xcodebuild -list
4444
- name: iOS Unit Tests
4545
# TODO(aashishpatil-g): Change from spmbuildonly to spm when unit tests are fixed.
46-
run: scripts/third_party/travis/retry.sh scripts/build.sh FirebaseDataConnect ${{ matrix.target }} spmbuildonly
46+
run: scripts/third_party/travis/retry.sh scripts/build.sh FirebaseDataConnect ${{ matrix.target }} spm

Package.swift

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,9 @@ let package = Package(
5050
path: "Sources"
5151
),
5252
.testTarget(
53-
name: "FirebaseDataConnectTests",
53+
name: "FirebaseDataConnectUnit",
5454
dependencies: ["FirebaseDataConnect"],
55-
path: "Tests",
56-
exclude: ["Gen/KitchenSink/Package.swift"],
57-
resources: [
58-
.copy("Resources/fdc-kitchensink"),
59-
]
55+
path: "Tests/Unit"
6056
),
6157
]
6258
)
File renamed without changes.

0 commit comments

Comments
 (0)