diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 9272c32eb..313bc27d4 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -127,6 +127,8 @@ jobs: - name: run job shell: bash env: + # https://github.com/tartley/colorama/issues/214 + PYCHARM_HOSTED: true TASK: ${{ matrix.task }} run: | export PATH=$PATH:$(pwd)/../ghdl-v0.36/bin diff --git a/tox.ini b/tox.ini index 397c2b3f1..922e88de7 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