mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-29 14:06:14 +02:00
Run tests in parallel (#1519)
* Clean up pyproject file This reduces the differences between local tasks and tasks run in the CI pipelines * remove linting step (it's part of test now) * remove useless arg * add xdist for parallel test execution in pytest
This commit is contained in:
parent
3fd109b6cd
commit
20254f7434
2 changed files with 57 additions and 4 deletions
|
@ -52,6 +52,7 @@ pyproject-flake8 = "*"
|
|||
pytest = ">=6.2"
|
||||
pytest-bdd = ">=4.0.1"
|
||||
pytest-clarity = "*"
|
||||
pytest-xdist = ">=2.5.0"
|
||||
toml = ">=0.10"
|
||||
tox = "*"
|
||||
yq = "*"
|
||||
|
@ -119,6 +120,7 @@ addopts = [
|
|||
"--pdbcls=IPython.terminal.debugger:Pdb",
|
||||
"--gherkin-terminal-reporter",
|
||||
"--tb=native",
|
||||
"-n=auto",
|
||||
]
|
||||
|
||||
filterwarnings = [
|
||||
|
@ -147,6 +149,7 @@ isolated_build = True
|
|||
deps =
|
||||
pytest >= 6.2
|
||||
pytest-bdd >=4.0.1
|
||||
pytest-xdist >=2.5.0
|
||||
toml >=0.10
|
||||
|
||||
commands = pytest {posargs}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue