Skip to content

Commit

Permalink
colorize the pytest output (#265)
Browse files Browse the repository at this point in the history
set `FORCE_COLOR` to force `pytest` to output colors
  • Loading branch information
keewis authored Jun 23, 2024
1 parent 9bdd9b7 commit 8be3414
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci-additional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
matrix:
python-version: ["3.12"]

env:
FORCE_COLOR: 3

steps:
- name: checkout
uses: actions/checkout@v4
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
run:
shell: bash -l {0}

env:
FORCE_COLOR: 3

if: |
always()
&& github.repository == 'xarray-contrib/pint-xarray'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ jobs:
outputs:
artifacts_availability: ${{ steps.status.outputs.ARTIFACTS_AVAILABLE }}

env:
FORCE_COLOR: 3

steps:
- name: checkout the repository
uses: actions/checkout@v4
Expand Down

0 comments on commit 8be3414

Please sign in to comment.