Ruby, Rust: add zstd compression option

This commit is contained in:
Paolo Tranquilli
2025-05-28 16:09:03 +02:00
parent 4a9e31ebd8
commit 923a2854cb
5 changed files with 24 additions and 8 deletions

View File

@@ -20,6 +20,7 @@ def test_do_not_print_env(codeql, rust, rust_edition, cargo, check_env_not_dumpe
@pytest.mark.ql_test("steps.ql", expected=".cargo.expected")
@pytest.mark.parametrize(("rust_edition", "compression", "suffix"), [
pytest.param(2024, "gzip", ".gz", id="gzip"),
pytest.param(2024, "zstd", ".zst", id="zstd"),
])
def test_compression(codeql, rust, rust_edition, compression, suffix, cargo, rust_check_diagnostics, cwd):
codeql.database.create(cleanup=False, _env={