Skip to content

Commit ba54f14

Browse files
authored
Colorize third-party stubtest and stubsabot outputs in CI (#9432)
1 parent 6c32486 commit ba54f14

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/stubsabot.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ permissions:
1010
issues: write
1111
pull-requests: write
1212

13+
env:
14+
FORCE_COLOR: 1
15+
1316
jobs:
1417
stubsabot:
1518
name: Upgrade stubs with stubsabot

.github/workflows/stubtest_third_party.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ permissions:
1414
env:
1515
PIP_DISABLE_PIP_VERSION_CHECK: 1
1616
FORCE_COLOR: 1
17+
TERM: xterm-256color # needed for FORCE_COLOR to work on mypy on Ubuntu, see https://github.com/python/mypy/issues/13817
1718

1819
concurrency:
1920
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

0 commit comments

Comments
 (0)