Skip to content

Commit

Permalink
Run tests in subprocess and move pytest configuration to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoferigo committed Oct 9, 2023
1 parent 75b8d27 commit c1f5b63
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,10 @@ line-length = 88
[tool.isort]
profile = "black"
multi_line_output = 3

[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-rsxX -v --strict-markers --forked"
testpaths = [
"tests",
]
7 changes: 2 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,10 @@ style =
isort
testing =
idyntree
pytest
pytest >= 6.0
pytest-forked
pytest-icdiff
robot-descriptions
all =
%(style)s
%(testing)s

[tool:pytest]
addopts = -rsxX -v --strict-markers
testpaths = tests

0 comments on commit c1f5b63

Please sign in to comment.