Have a separate workflow for test with correct file paths

This commit is contained in:
Salar Rahmanian 2025-02-08 20:14:50 -08:00
parent b3ab1e325f
commit 477af99eab
4 changed files with 39 additions and 41 deletions

View file

@ -10,17 +10,13 @@ let package = Package(
],
dependencies: [
.package(
url: "https://github.com/apple/swift-argument-parser.git", .upToNextMajor(from: "1.5.0")),
.package(url: "https://github.com/duckdb/duckdb-swift", .upToNextMinor(from: .init(1, 1, 0))),
url: "https://github.com/apple/swift-argument-parser.git", .upToNextMajor(from: "1.5.0"))
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.executableTarget(
name: "Fishee",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.product(name: "DuckDB", package: "duckdb-swift"),
.product(name: "ArgumentParser", package: "swift-argument-parser")
],
path: "Sources"
),
@ -31,6 +27,7 @@ let package = Package(
resources: [
.copy("Resources/fish_history_test.txt"),
.copy("Resources/fish_history_test_2.txt"),
.process("TestPlan.xctestplan"),
]
),
]