From 7a9818e565936bf274286dea1c5420552317775c Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Sat, 17 Dec 2022 21:08:17 +0000 Subject: [PATCH] Colorize output of stdlib stubtest in CI (#9379) --- .github/workflows/daily.yml | 1 + .github/workflows/stubtest_stdlib.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index 059ae9908..6bb49384d 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -20,6 +20,7 @@ concurrency: env: PIP_DISABLE_PIP_VERSION_CHECK: 1 FORCE_COLOR: 1 + TERM: xterm-256color # needed for FORCE_COLOR to work on mypy on Ubuntu, see https://github.com/python/mypy/issues/13817 jobs: stubtest-stdlib: diff --git a/.github/workflows/stubtest_stdlib.yml b/.github/workflows/stubtest_stdlib.yml index 71db588b8..5ccc68cea 100644 --- a/.github/workflows/stubtest_stdlib.yml +++ b/.github/workflows/stubtest_stdlib.yml @@ -17,6 +17,8 @@ permissions: env: PIP_DISABLE_PIP_VERSION_CHECK: 1 + FORCE_COLOR: 1 + TERM: xterm-256color # needed for FORCE_COLOR to work on mypy on Ubuntu, see https://github.com/python/mypy/issues/13817 concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}