Skip to content

Commit a8182bb

Browse files
committed
fix: add missing testTarget to Package.swift
The tests directory exists with ReadmeVerificationTests.swift but Package.swift was missing the testTarget declaration, causing 'no tests found' error in CI. Also updated CI workflow to pass --traits URLRouting flag to swift test commands, as FormCoding tests require URLRouting trait to access dependency modules.
1 parent 16bf9f7 commit a8182bb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Package.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ let package = Package(
4141
),
4242
.product(name: "MultipartFormCoding", package: "swift-multipart-form-coding"),
4343
]
44+
),
45+
.testTarget(
46+
name: "FormCoding Tests",
47+
dependencies: ["FormCoding"]
4448
)
4549
]
4650
)

0 commit comments

Comments
 (0)