diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 52d243e4..cfa2bc22 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -293,6 +293,11 @@ jobs: CIBW_PRERELEASE_PYTHONS: 'True' CIBW_TEST_REQUIRES: pytest setuptools # 3.12+ no longer includes distutils, just always ensure setuptools is present CIBW_TEST_COMMAND: PYTHONUNBUFFERED=1 python -m pytest ${{ matrix.test_args || '{project}' }} # default to test all + COLOR: yes + FORCE_COLOR: 1 + MYPY_FORCE_COLOR: 1 + PRE_COMMIT_COLOR: always + PY_COLORS: 1 with: package-dir: >- ${{ steps.fetch_sdist.outputs.download-path @@ -409,7 +414,12 @@ jobs: CIBW_PRERELEASE_PYTHONS: 'True' CIBW_TEST_REQUIRES: pytest setuptools CIBW_TEST_COMMAND: pip install pip --upgrade; cd {project}; PYTHONUNBUFFERED=1 pytest + COLOR: yes + FORCE_COLOR: 1 MACOSX_DEPLOYMENT_TARGET: ${{ matrix.deployment_target || '10.9' }} + MYPY_FORCE_COLOR: 1 + PRE_COMMIT_COLOR: always + PY_COLORS: 1 SDKROOT: ${{ matrix.sdkroot || 'macosx' }} with: package-dir: >- @@ -501,6 +511,11 @@ jobs: CIBW_TEST_COMMAND: 'python -m pytest {package}/src/c' # FIXME: /testing takes ~45min on Windows and has some failures... # CIBW_TEST_COMMAND='python -m pytest {package}/src/c {project}/testing' + COLOR: yes + FORCE_COLOR: 1 + MYPY_FORCE_COLOR: 1 + PRE_COMMIT_COLOR: always + PY_COLORS: 1 with: package-dir: >- ${{ steps.fetch_sdist.outputs.download-path