Files
codeql/java/ql/integration-tests/java/maven-execution-specific-java-version/test.py

10 lines
318 B
Python

import os
def test(codeql, java, actions_toolchains_file):
codeql.database.create(
_env={
"LGTM_INDEX_MAVEN_TOOLCHAINS_FILE": str(actions_toolchains_file),
"LGTM_INDEX_MAVEN_SETTINGS_FILE": os.path.join(os.path.dirname(os.path.realpath(__file__)), "settings.xml"),
}
)