add tests for ML powered queries 0.3.0 and CLI 2.9.3

This commit is contained in:
tombolton 2022-06-13 15:46:39 +01:00 committed by Tom Bolton
parent f8f4c0b33e
commit a568674c69
3 changed files with 27 additions and 1 deletions

View file

@ -1865,3 +1865,23 @@ test(
"security-and-quality",
"0.0.1"
);
// Test that the ~0.3.0 version of ML-powered queries are run on non-Windows platforms running
// `security-extended` on version 2.9.3+ of the CodeQL CLI.
test(
mlPoweredQueriesMacro,
"2.9.3",
true,
undefined,
"security-extended",
process.platform === "win32" ? undefined : "~0.3.0"
);
// Test that ML-powered queries are run on all platforms running `security-and-quality` on CodeQL
// CLI 2.9.3+.
test(
mlPoweredQueriesMacro,
"2.9.3",
true,
undefined,
"security-and-quality",
"~0.3.0"
);