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 Nov 20, 2019
1 parent 60dc1e5 commit 5b7db34
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 tests/unit
lint: {envpython} -m pytest -v tests/lint
unit: {envpython} -m pytest --color=yes -v tests/unit
lint: {envpython} -m pytest --color=yes -v tests/lint
docs: {envpython} tools/build_docs.py {envtmpdir}/docsbuild
acceptance: {envpython} -m pytest -v tests/acceptance
acceptance: {envpython} -m pytest --color=yes -v tests/acceptance
vcomponents: {envpython} vunit/vhdl/verification_components/run.py --clean

0 comments on commit 5b7db34

Please sign in to comment.