diff --git a/tests/conftest.py b/tests/conftest.py index cbc93a8..53a32b0 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -10,11 +10,17 @@ Fixtures are organized by domain: from __future__ import annotations +import os import re import shutil import tempfile from pathlib import Path +# Gitea Actions sets GITHUB_ACTIONS. Typer then forces a color terminal, and +# Rich's option highlighter puts an ANSI code between the two dashes of +# ``--option``. A dumb TERM keeps CliRunner output colorless on every worker. +os.environ["TERM"] = "dumb" + import polars as pl import pytest