Set COLUMNS in Linux CI workflow to prevent regressions (#11589)

## Summary

When tests are run downstream, the `COLUMNS` environment variable is
used to force fixed output width and avoid test failures due to
different terminal widths. However, this occasionally causes test
regressions when other tests rely on different output width. Use the
same `COLUMNS` value in CI to ensure consistent output and catch any
regressions.

## Test Plan

It wasn't, it's supposed to be tested by the CI :-).

---------

Co-authored-by: Zanie Blue <contact@zanie.dev>
This commit is contained in:
Michał Górny 2025-02-18 17:38:28 +01:00 committed by GitHub
parent c3fc75d97e
commit aca7be8378
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 23 additions and 10 deletions

View file

@ -399,6 +399,12 @@ Used to detect Bash shell usage.
Use to control color via `anstyle`.
### `COLUMNS`
Overrides terminal width used for wrapping. This variable is not read by uv directly.
This is a quasi-standard variable, described e.g. in `ncurses(3x)`.
### `CONDA_DEFAULT_ENV`
Used to determine if an active Conda environment is the base environment or not.