def METHOD_NAME():
    config = MarsWorkerConfig("/path/to/packed.tar.gz").build()
    assert "mars.deploy.yarn.worker" in config["script"]
    assert config["depends"] == [MarsSupervisorConfig.service_name]
    config = MarsWorkerConfig(
        "/path/to/packed.tar.gz",
        worker_cache_mem="10g",
        spill_dirs=["/spill/dir1", "/spill/dir2"],
    ).build()
    config_envs = config["env"]
    assert config_envs["MARS_CACHE_MEM_SIZE"] == "10g"
    assert config_envs["MARS_SPILL_DIRS"].split(":") == ["/spill/dir1", "/spill/dir2"]