Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9b4ce89

Browse files
author
1138-4EB
committed
WIP: ensure --color=yes
1 parent fb1cf5d commit 9b4ce89

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/push.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ jobs:
133133
- name: run job
134134
shell: bash
135135
env:
136+
# https://github.com/tartley/colorama/issues/214
137+
PYCHARM_HOSTED: true
136138
VER: ${{ matrix.task.ver }}
137139
DO: ${{ matrix.task.do }}
138140
run: |

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ skip_missing_interpreters = True
44

55
[testenv]
66
recreate=True
7-
passenv=ALDEC_LICENSE_FILE
7+
passenv=ALDEC_LICENSE_FILE PYCHARM_HOSTED
88

99
deps=
1010
fmt: black
@@ -25,8 +25,8 @@ setenv=
2525

2626
commands=
2727
fmt: {envpython} -m black ./ --exclude 'vunit\/vhdl\/JSON-for-VHDL|\.eggs|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|_build|buck-out|build|dist' {posargs}
28-
unit: {envpython} -m pytest -v vunit/test/unit
29-
lint: {envpython} -m pytest -v vunit/test/lint
28+
unit: {envpython} -m pytest --color=yes -v vunit/test/unit
29+
lint: {envpython} -m pytest --color=yes -v vunit/test/lint
3030
docs: {envpython} tools/build_docs.py {envtmpdir}/docsbuild
31-
acceptance: {envpython} -m pytest -v vunit/test/acceptance
31+
acceptance: {envpython} -m pytest --color=yes -v vunit/test/acceptance
3232
vcomponents: {envpython} vunit/vhdl/verification_components/run.py --clean

0 commit comments

Comments
 (0)