From 1a7835db0db6d536e1be32aa91fb7b596e2adbfc Mon Sep 17 00:00:00 2001 From: 1138-4EB <1138-4EB@users.noreply.github.com> Date: Mon, 9 Sep 2019 02:45:15 +0200 Subject: [PATCH] WIP: ensure --color=yes --- .github/workflows/push.yml | 5 +++++ tox.ini | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index fb415e7066..c6d6930d72 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -2,6 +2,11 @@ name: 'push' on: [ push, pull_request ] +env: + PY_COLORS: 1 + # https://github.com/tartley/colorama/issues/214 + PYCHARM_HOSTED: true + jobs: diff --git a/tox.ini b/tox.ini index 397c2b3f1c..922e88de7e 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ skip_missing_interpreters = True [testenv] recreate=True -passenv=ALDEC_LICENSE_FILE +passenv=ALDEC_LICENSE_FILE PYCHARM_HOSTED deps= fmt: black @@ -25,8 +25,8 @@ setenv= commands= fmt: {envpython} -m black ./ --exclude 'vunit\/vhdl\/JSON-for-VHDL|\.eggs|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|_build|buck-out|build|dist' {posargs} - unit: {envpython} -m pytest -v vunit/test/unit - lint: {envpython} -m pytest -v vunit/test/lint + unit: {envpython} -m pytest --color=yes -v vunit/test/unit + lint: {envpython} -m pytest --color=yes -v vunit/test/lint docs: {envpython} tools/build_docs.py {envtmpdir}/docsbuild - acceptance: {envpython} -m pytest -v vunit/test/acceptance + acceptance: {envpython} -m pytest --color=yes -v vunit/test/acceptance vcomponents: {envpython} vunit/vhdl/verification_components/run.py --clean