Skip to content

Commit

Permalink
WIP: ensure --color=yes
Browse files Browse the repository at this point in the history
  • Loading branch information
1138-4EB committed Oct 24, 2019
1 parent 8aaa840 commit 5e4412f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:


Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ skip_missing_interpreters = True

[testenv]
recreate=True
passenv=ALDEC_LICENSE_FILE
passenv=ALDEC_LICENSE_FILE PYCHARM_HOSTED

deps=
fmt: black
Expand All @@ -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

0 comments on commit 5e4412f

Please sign in to comment.