Skip to content

Commit

Permalink
test: Add empty testing infrastructure and run it under CI (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbmorley authored Feb 13, 2025
1 parent 2b6a545 commit 1cb5825
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,8 @@ let package = Package(
.product(name: "Crypto", package: "swift-crypto"),
]
),
.testTarget(
name: "ReporterTests"
)
]
)
6 changes: 6 additions & 0 deletions Tests/ReporterTests/Dummy.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import Testing

@Test func isTrue() {
let foo = true
#expect(foo == true)
}
2 changes: 1 addition & 1 deletion scripts/build-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if [ -d .build ] ; then
fi

# Run the tests.
# swift test
swift test

# Build the project.
swift build

0 comments on commit 1cb5825

Please sign in to comment.