ci: More colored output

This commit is contained in:
Florian Bruhin 2022-07-11 10:36:23 +02:00
parent 774f24933d
commit df9abc5c23
2 changed files with 4 additions and 1 deletions

View File

@ -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/

View File

@ -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 }}"