Pass --force-color to nox

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
Pedro Algarvio 2023-10-16 12:50:03 +01:00 committed by Megan Wilhite
parent 736254a321
commit ee8fcbf0e6

View file

@ -138,7 +138,9 @@ def download_nox_artifact(
if nox is None:
ctx.error("Could not find the 'nox' binary in $PATH")
return ExitCode.FAIL
ret = ctx.run(nox, "-e", "decompress-dependencies", "--", slug, check=False)
ret = ctx.run(
nox, "--force-color", "-e", "decompress-dependencies", "--", slug, check=False
)
if ret.returncode:
ctx.error("Failed to decompress the nox dependencies")
return ExitCode.FAIL