Skip to content

Commit 619332e

Browse files
committed
Integration tests now runnable
1 parent c0314bf commit 619332e

File tree

12 files changed

+1395
-1385
lines changed

12 files changed

+1395
-1385
lines changed

.github/workflows/integration-testing.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,12 @@ jobs:
120120
## Turns out the unittest-vibe-ut tried to connect to an actualy MySQL on 172.18.0.1 so it's not
121121
## actually a unit test at all. It's an integration test and should be pulled out from the main
122122
## codebase into a separate sub module
123-
- name: Run unittest-vibe-ut
123+
- name: Run unittest-vibe
124124
env:
125125
MYSQL_PORT: ${{ job.services.mysql.ports[3306] }}
126126
run: |
127127
echo "host=localhost;port=$MYSQL_PORT;user=testuser;pwd=passw0rd;db=testdb" > testConnectionStr.txt
128-
dub run -c unittest-vibe-ut -- -t
128+
dub run ":integration-tests"
129129
130130
- name: Build The Example Project
131131
working-directory: ./examples/homePage
@@ -190,7 +190,7 @@ jobs:
190190
MYSQL_PORT: ${{ job.services.mysql.ports[3306] }}
191191
run: |
192192
echo "host=localhost;port=$MYSQL_PORT;user=testuser;pwd=passw0rd;db=testdb" > testConnectionStr.txt
193-
dub run -c unittest-vibe-ut -- -t
193+
dub run ":integration-tests"
194194
195195
- name: Build The Example Project
196196
working-directory: ./examples/homePage
@@ -201,4 +201,4 @@ jobs:
201201
env:
202202
MYSQL_PORT: ${{ job.services.mysql.ports[3306] }}
203203
run: |
204-
./example "host=localhost;port=$MYSQL_PORT;user=testuser;pwd=passw0rd;db=testdb"
204+
./example "host=localhost;port=$MYSQL_PORT;user=testuser;pwd=passw0rd;db=testdb"

integration-tests/source/app.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
import mysql.test.common;
22
import mysql.test.integration;
33
import mysql.test.regression;
4+
import mysql.maintests;

0 commit comments

Comments
 (0)