GitHub Actions change attempt 3/4728139432

This commit is contained in:
Sam Rose 2024-11-07 10:28:00 +00:00
parent aab3aabe0f
commit 1e84297fdc
No known key found for this signature in database
1 changed files with 8 additions and 0 deletions

View File

@ -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()