Invoke sugar also on CI, but not enable it by default
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This way it's possible to disable it with using pytest -p no:sugar and this can be useful since, for example, hypothesis statistics are not showed: https://github.com/Teemu/pytest-sugar/issues/221
This commit is contained in:
parent
7e60f31240
commit
805280099d
|
@ -11,4 +11,4 @@ steps:
|
|||
- curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
|
||||
- export PATH=$PATH:$HOME/.poetry/bin
|
||||
- poetry install
|
||||
- poetry run pytest
|
||||
- poetry run pytest --force-sugar
|
||||
|
|
|
@ -17,7 +17,7 @@ pytest-xdist = "^2.2.1"
|
|||
|
||||
[tool.pytest.ini_options]
|
||||
minversion = "6.0"
|
||||
addopts = "--verbose --force-sugar"
|
||||
addopts = "--verbose"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core>=1.0.0"]
|
||||
|
|
Loading…
Reference in a new issue