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:
Jonathan Wren 2022-06-25 13:12:52 -07:00 committed by GitHub
parent 3fd109b6cd
commit 20254f7434
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 57 additions and 4 deletions

View file

@ -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}