GitHub Actions change attempt 3/4728139432
This commit is contained in:
parent
aab3aabe0f
commit
1e84297fdc
|
@ -93,6 +93,10 @@ export function datasourceDescribe(
|
|||
opts: DatasourceDescribeOpts,
|
||||
cb: (args: DatasourceDescribeReturn) => void
|
||||
) {
|
||||
if (process.env.DATASOURCE === "none") {
|
||||
return
|
||||
}
|
||||
|
||||
const { name, only, exclude } = opts
|
||||
|
||||
if (only && exclude) {
|
||||
|
@ -106,6 +110,10 @@ export function datasourceDescribe(
|
|||
databases = databases.filter(db => !exclude.includes(db))
|
||||
}
|
||||
|
||||
if (process.env.DATASOURCE) {
|
||||
databases = databases.filter(db => db === process.env.DATASOURCE)
|
||||
}
|
||||
|
||||
describe.each(databases)(name, name => {
|
||||
const config = new TestConfiguration()
|
||||
|
||||
|
|
Loading…
Reference in New Issue