Skip to content

Commit 79eee35

Browse files
committed
Lint fix
1 parent 86c3f6a commit 79eee35

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/build.yml

+4
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,7 @@ jobs:
7575
sudo apt-get install -y libsqlite3-dev
7676
- name: Test
7777
run: swift test
78+
- name: "Run tests (SPM integration test)"
79+
env:
80+
SPM: run
81+
run: ./run-tests.sh

Tests/SPM/Sources/test/main.swift

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import SQLite
1+
import SQLite
22

33
let table = Table("test")
44
let name = Expression<String>("name")
@@ -8,4 +8,3 @@ let db = try Connection("db.sqlite", readonly: true)
88
for row in try db.prepare(table) {
99
print(row[name])
1010
}
11-

run-tests.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ elif [ -n "$VALIDATOR_SUBSPEC" ]; then
1515
elif [ -n "$CARTHAGE_PLATFORM" ]; then
1616
cd Tests/Carthage && make test CARTHAGE_PLATFORM="$CARTHAGE_PLATFORM"
1717
elif [ -n "$SPM" ]; then
18-
cd Tests/SPM && swift run
18+
cd Tests/SPM && swift ${SPM}
1919
elif [ -n "${PACKAGE_MANAGER_COMMAND}" ]; then
2020
swift ${PACKAGE_MANAGER_COMMAND}
2121
fi

0 commit comments

Comments
 (0)