Skip to content

Commit

Permalink
ci: attempt to fix sqlite3 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Mar 1, 2022
1 parent 3b3bb7a commit 5149a81
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
version: '3.4'
services:
mysql_legacy:
platform: linux/x86_64
image: mysql:5.7
environment:
MYSQL_DATABASE: lucid
Expand All @@ -10,6 +11,7 @@ services:
ports:
- '3306:3306'
mysql_replica_1:
platform: linux/x86_64
image: mysql:5.7
environment:
MYSQL_DATABASE: lucid
Expand All @@ -19,6 +21,7 @@ services:
ports:
- '3304:3306'
mysql_replica_2:
platform: linux/x86_64
image: mysql:5.7
environment:
MYSQL_DATABASE: lucid
Expand All @@ -28,6 +31,7 @@ services:
ports:
- '3303:3306'
mysql:
platform: linux/x86_64
image: mysql:8.0
command: --default-authentication-plugin=mysql_native_password --sync_binlog=0 --innodb_doublewrite=OFF --innodb-flush-log-at-trx-commit=0 --innodb-flush-method=nosync
environment:
Expand Down
2 changes: 1 addition & 1 deletion test-helpers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export function getConfig(): ConnectionConfig {
switch (process.env.DB) {
case 'sqlite':
return {
client: 'sqlite',
client: 'sqlite3',
connection: {
filename: join(fs.basePath, 'db.sqlite'),
},
Expand Down

0 comments on commit 5149a81

Please sign in to comment.