diff options
-rw-r--r-- | .github/workflows/bleeding.yml | 2 | ||||
-rw-r--r-- | .github/workflows/ci.yml | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/bleeding.yml b/.github/workflows/bleeding.yml index 2c1d27a04..586b3b79e 100644 --- a/.github/workflows/bleeding.yml +++ b/.github/workflows/bleeding.yml @@ -16,9 +16,9 @@ jobs: image: "qutebrowser/ci:archlinux-webengine-unstable" env: FORCE_COLOR: "1" + PY_COLORS: "1" DOCKER: "archlinux-webengine-unstable" CI: true - PYTEST_ADDOPTS: "--color=yes" volumes: # Hardcoded because we can't use ${{ runner.temp }} here apparently. - /home/runner/work/_temp/:/home/runner/work/_temp/ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2be4e61fd..6eee4b61e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,7 @@ on: pull_request: env: FORCE_COLOR: "1" + PY_COLORS: "1" MYPY_FORCE_TERMINAL_WIDTH: "180" jobs: @@ -69,6 +70,7 @@ jobs: bash download-actionlint.bash latest "$bindir" echo "$bindir" >> "$GITHUB_PATH" fi + export TERM=ansi # for colored pip output python -m pip install -U pip python -m pip install -U -r misc/requirements/requirements-tox.txt - name: "Run ${{ matrix.testenv }}" @@ -177,6 +179,7 @@ jobs: if: "startsWith(matrix.os, 'ubuntu-')" - name: Install dependencies run: | + export TERM=ansi # for colored pip output python -m pip install -U pip python -m pip install -U -r misc/requirements/requirements-tox.txt - name: "Run ${{ matrix.testenv }}" |