in container_images/pytest/main.py [0:0]
def main():
print("args:", sys.argv)
print("$ARTIFACTS:", os.environ.get("ARTIFACTS"))
artifact_dir, package_root = validate_args(sys.argv)
cfg = read_tox_ini(Path.cwd(), package_root)
# Create a new execution area, since we'll be writing files.
execution_root = setup_execution_root(cfg)
os.chdir(execution_root)
subprocess.run(["ls", "-lah", "deps"])
print("Executing tests in", execution_root)
write_tox_ini(cfg, artifact_dir, Path())
archive_configs(artifact_dir / "tox")
result_code = tox.cmdline(["-v"])
sys.exit(result_code)