mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
This is done by simply adding the autobuilder from the shared tree-sitter extractor library.
13 lines
437 B
Python
13 lines
437 B
Python
import pathlib
|
|
|
|
|
|
def test_default(codeql, rust, check_source_archive):
|
|
check_source_archive.expected_suffix = ".default.expected"
|
|
pathlib.Path("_git").rename(".git")
|
|
codeql.database.create()
|
|
|
|
def test_with_config(codeql, rust, check_source_archive):
|
|
check_source_archive.expected_suffix = ".with_config.expected"
|
|
pathlib.Path("_git").rename(".git")
|
|
codeql.database.create(codescanning_config="codeql-config.yml")
|