Base: codex-main originale (prima del fork aKode)
This commit is contained in:
39
scripts/codex_package/smoke_tests/conftest.py
Normal file
39
scripts/codex_package/smoke_tests/conftest.py
Normal file
@@ -0,0 +1,39 @@
|
||||
from pathlib import Path
|
||||
|
||||
import pytest
|
||||
from fixtures import code_mode_host_debug_symbols, package, responses_server
|
||||
|
||||
__all__ = ["code_mode_host_debug_symbols", "package", "responses_server"]
|
||||
|
||||
|
||||
def pytest_addoption(parser: pytest.Parser) -> None:
|
||||
group = parser.getgroup("Codex package smoke")
|
||||
group.addoption(
|
||||
"--compression",
|
||||
choices=("gzip", "zstd"),
|
||||
required=True,
|
||||
help="Compression format of the supplied package archives.",
|
||||
)
|
||||
group.addoption(
|
||||
"--package-target",
|
||||
required=True,
|
||||
help="Rust target triple for the assembled release packages.",
|
||||
)
|
||||
group.addoption(
|
||||
"--cli-archive",
|
||||
type=Path,
|
||||
required=True,
|
||||
help="Assembled Codex CLI package archive in the selected format.",
|
||||
)
|
||||
group.addoption(
|
||||
"--app-server-archive",
|
||||
type=Path,
|
||||
required=True,
|
||||
help="Assembled app-server package archive in the selected format.",
|
||||
)
|
||||
group.addoption(
|
||||
"--symbols-archive",
|
||||
type=Path,
|
||||
required=True,
|
||||
help="Gzip archive containing symbols for all packaged binaries.",
|
||||
)
|
||||
Reference in New Issue
Block a user