Use the correct environment variable in integration tests (#994)

Also, fix documentation and launch configs to specify the correct and
complete set of environment variables we should be using.
This commit is contained in:
Andrew Eisenberg
2021-11-03 16:04:14 -07:00
committed by GitHub
parent e9574d33a9
commit 0ef635bc68
4 changed files with 28 additions and 21 deletions

13
.vscode/launch.json vendored
View File

@@ -96,6 +96,19 @@
// available in the workspace for the tests.
// "${workspaceRoot}/../codeql"
],
"env": {
// Optionally, set the version to use for the integration tests.
// Use "nightly" to use the latest nightly build.
// "CLI_VERSION": "2.7.0",
// If CLI_VERSION is set to nightly, set this to the url of the nightly build.
// "NIGHTLY_URL": "some url to grab the nightly build",
// Optionally, add a path to the codeql executable to be used during these tests.
// If not specified, one will be downloaded automatically.
// This option overrides the CLI_VERSION option.
// "CLI_PATH": "${workspaceRoot}/../semmle-code/target/intree/codeql/codeql",
},
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": [