tests: move tests/plugins/*/tests.yml to tests/plugins/*/yml
This commit is contained in:
@@ -96,7 +96,7 @@ const metadata = JSON.parse(`${
|
||||
const tests = []
|
||||
for (const name in metadata.plugins) {
|
||||
const cases = yaml
|
||||
.load(fs.readFileSync(path.join(__dirname, "../tests/plugins", name, "tests.yml"), "utf8"))
|
||||
.load(fs.readFileSync(path.join(__dirname, "../tests/plugins", `${name}.yml`), "utf8"))
|
||||
?.map(({ name: test, with: inputs, modes = [], timeout }) => {
|
||||
const skip = new Set(Object.entries(metadata.templates).filter(([_, { readme: { compatibility } }]) => !compatibility[name]).map(([template]) => template))
|
||||
if (!(metadata.plugins[name].supports.includes("repository")))
|
||||
|
||||
Reference in New Issue
Block a user