Skip to content

Commit

Permalink
Invoke sugar also on CI, but not enable it by default
Browse files Browse the repository at this point in the history
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: Teemu/pytest-sugar#221
  • Loading branch information
eriol committed Feb 25, 2021
1 parent 7e60f31 commit 8052800
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 8052800

Please sign in to comment.