Skip to content

Commit

Permalink
F3
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p committed Oct 14, 2024
1 parent 8156df2 commit d47bbdc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
env:
TOX_SKIP_MISSING_INTERPRETERS: False
# Rich (pip)
FORCE_COLOR: ${{ !(startsWith(matrix.os, 'windows-') && matrix.toxenv == 'py') && 1 || 0 }}
FORCE_COLOR: ${{ !(startsWith(matrix.os, 'windows-') && startsWith(matrix.toxenv, 'py')) && 1 || 0 }}
# Tox
PY_COLORS: 1
# Mypy (see https://github.com/python/mypy/issues/7771)
Expand All @@ -141,9 +141,9 @@ jobs:
steps:
- run: |
echo "x: ${{ startsWith(matrix.os, 'windows-') }}"
echo "y: ${{ matrix.toxenv == 'py' }}"
echo "xy: ${{ startsWith(matrix.os, 'windows-') && matrix.toxenv == 'py' }}"
echo "!xy: ${{ !(startsWith(matrix.os, 'windows-') && matrix.toxenv == 'py') }}"
echo "y: ${{ startsWith(matrix.toxenv, 'py') }}"
echo "xy: ${{ startsWith(matrix.os, 'windows-') && startsWith(matrix.toxenv, 'py') }}"
echo "!xy: ${{ !(startsWith(matrix.os, 'windows-') && startsWith(matrix.toxenv, 'py')) }}"
echo "---"
echo "matrix.no_color: ${{ matrix.no_color }}"
echo "!matrix.no_color': ${{ !matrix.no_color }}"
Expand Down

0 comments on commit d47bbdc

Please sign in to comment.