From 083ff200646cbd2f3dc5cfd26a80eaed84bfa2cb Mon Sep 17 00:00:00 2001 From: 1138-4EB <1138-4EB@users.noreply.github.com> Date: Mon, 9 Sep 2019 09:21:12 +0200 Subject: [PATCH] WIP: ensure --color=yes --- .github/workflows/push.yml | 2 ++ tox.ini | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index cde9e3c1d2..792628c5e9 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -133,6 +133,8 @@ jobs: - name: run job shell: bash env: + # https://github.com/tartley/colorama/issues/214 + PYCHARM_HOSTED: true VER: ${{ matrix.task.ver }} DO: ${{ matrix.task.do }} run: | diff --git a/tox.ini b/tox.ini index b139491a34..cda10f8db6 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