Skip to content

Commit 8be3414

Browse files
authored
colorize the pytest output (#265)
set `FORCE_COLOR` to force `pytest` to output colors
1 parent 9bdd9b7 commit 8be3414

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.github/workflows/ci-additional.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ jobs:
2323
matrix:
2424
python-version: ["3.12"]
2525

26+
env:
27+
FORCE_COLOR: 3
28+
2629
steps:
2730
- name: checkout
2831
uses: actions/checkout@v4

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ jobs:
3636
run:
3737
shell: bash -l {0}
3838

39+
env:
40+
FORCE_COLOR: 3
41+
3942
if: |
4043
always()
4144
&& github.repository == 'xarray-contrib/pint-xarray'

.github/workflows/nightly.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ jobs:
5858
outputs:
5959
artifacts_availability: ${{ steps.status.outputs.ARTIFACTS_AVAILABLE }}
6060

61+
env:
62+
FORCE_COLOR: 3
63+
6164
steps:
6265
- name: checkout the repository
6366
uses: actions/checkout@v4

0 commit comments

Comments
 (0)