Skip to content

Commit

Permalink
Restrict testing target to unit tests and enable testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
aashishpatil-g committed Sep 18, 2024
1 parent 4ee870a commit 6c94d22
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/spm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ jobs:
run: xcodebuild -list
- name: iOS Unit Tests
# TODO(aashishpatil-g): Change from spmbuildonly to spm when unit tests are fixed.
run: scripts/third_party/travis/retry.sh scripts/build.sh FirebaseDataConnect ${{ matrix.target }} spmbuildonly
run: scripts/third_party/travis/retry.sh scripts/build.sh FirebaseDataConnect ${{ matrix.target }} spm
8 changes: 2 additions & 6 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,9 @@ let package = Package(
path: "Sources"
),
.testTarget(
name: "FirebaseDataConnectTests",
name: "FirebaseDataConnectUnit",
dependencies: ["FirebaseDataConnect"],
path: "Tests",
exclude: ["Gen/KitchenSink/Package.swift"],
resources: [
.copy("Resources/fdc-kitchensink"),
]
path: "Tests/Unit"
),
]
)
File renamed without changes.

0 comments on commit 6c94d22

Please sign in to comment.