Files
codeql/rust/ql/integration-tests/file-exclusions/test_file_exclusion.py
Paolo Tranquilli 73a5a3f7ee Rust: support paths and paths-ignore from the code scanning configuration file
This is done by simply adding the autobuilder from the shared
tree-sitter extractor library.
2024-12-19 17:37:56 +01:00

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")