Skip to content

Commit

Permalink
override FORCE_COLOR for setup-micromamba specifically
Browse files Browse the repository at this point in the history
  • Loading branch information
keewis committed Nov 18, 2024
1 parent a38f269 commit f27e221
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
FORCE_COLOR: 3

jobs:
detect-ci-trigger:
name: detect ci trigger
Expand Down Expand Up @@ -56,6 +59,8 @@ jobs:
echo "CONDA_ENV_FILE=ci/environment.yml" >> $GITHUB_ENV
- name: Setup micromamba
env:
FORCE_COLOR: 0
uses: mamba-org/setup-micromamba@v2
with:
environment-file: ${{ env.CONDA_ENV_FILE }}
Expand All @@ -74,7 +79,5 @@ jobs:
python -c "import xdggs"
- name: Run tests
env:
FORCE_COLOR: 3
run: |
python -m pytest

0 comments on commit f27e221

Please sign in to comment.