Skip to content

Commit 8543e5d

Browse files
committed
Fix spacing. Run test utility in integration tests.
1 parent 2411644 commit 8543e5d

File tree

5 files changed

+231
-220
lines changed

5 files changed

+231
-220
lines changed

.github/workflows/integration-testing.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,12 @@ jobs:
129129
run: |
130130
dub run ":integration-tests-phobos"
131131
132+
- name: Run test connection utility
133+
env:
134+
MYSQL_PORT: ${{ job.services.mysql.ports[3306] }}
135+
run: |
136+
dub run ":testconn" -- 'host=localhost;port=$MYSQL_PORT;user=testuser;pwd=passw0rd;db=testdb'
137+
132138
- name: Build The Example Project
133139
working-directory: ./examples/homePage
134140
run: dub build
@@ -194,6 +200,12 @@ jobs:
194200
run: |
195201
dub run ":integration-tests-phobos"
196202
203+
- name: Run test connection utility
204+
env:
205+
MYSQL_PORT: ${{ job.services.mysql.ports[3306] }}
206+
run: |
207+
dub run ":testconn" -- 'host=localhost;port=$MYSQL_PORT;user=testuser;pwd=passw0rd;db=testdb'
208+
197209
- name: Build The Example Project
198210
working-directory: ./examples/homePage
199211
run: dub build

dub.sdl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ subPackage "./testconn"
1616
configuration "library" {
1717
}
1818
configuration "unittest" {
19-
buildOptions "unittests" "debugInfo" "debugMode"
20-
debugVersions "MYSQLN_TESTS"
19+
buildOptions "unittests" "debugInfo" "debugMode"
20+
debugVersions "MYSQLN_TESTS"
2121
}

0 commit comments

Comments
 (0)