mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-25 03:05:47 +00:00
@@ -12,6 +12,10 @@ const isPg = (context: NcContext) => context.dbType === 'pg';
|
||||
|
||||
const isEE = () => process.env.EE === 'true';
|
||||
|
||||
// run all the tests for PG; disable some tests for mysql, sqlite to reduce CI time
|
||||
//
|
||||
const enableQuickRun = () => (process.env.CI ? process.env.E2E_DB_TYPE : process.env.E2E_DEV_DB_TYPE) !== 'pg';
|
||||
|
||||
const pg_credentials = (context: NcContext) => ({
|
||||
user: 'postgres',
|
||||
host: 'localhost',
|
||||
@@ -65,4 +69,4 @@ async function sqliteExec(query) {
|
||||
}
|
||||
}
|
||||
|
||||
export { sqliteExec, mysqlExec, isMysql, isSqlite, isPg, pgExec, isEE };
|
||||
export { sqliteExec, mysqlExec, isMysql, isSqlite, isPg, pgExec, isEE, enableQuickRun };
|
||||
|
||||
Reference in New Issue
Block a user