run test in parallel in tox, but not in travis
This commit is contained in:
@@ -40,13 +40,14 @@ python = "^3.7"
|
||||
black = { version = "^19.3.10b0", allow-prereleases = true }
|
||||
bandit = "^1.6"
|
||||
pep8-naming = "^0.11"
|
||||
pytest = "^5.4"
|
||||
pytest = "^6"
|
||||
pytest-black = "^0.3.10"
|
||||
pytest-cov = "^2.10"
|
||||
pytest-cov = "^2.10.1"
|
||||
pytest-flake8 = "^1.0"
|
||||
pytest-isort = "^1.1.0"
|
||||
pytest-mypy = "^0.6"
|
||||
pytest-mypy = "^0.7"
|
||||
pytest-pylint = "^0.17"
|
||||
pytest-xdist = "^2.1.0"
|
||||
|
||||
|
||||
[tool.black]
|
||||
@@ -79,6 +80,6 @@ deps =
|
||||
commands =
|
||||
poetry install -v
|
||||
poetry run bandit -c bandit.yaml -r src/pyrad3
|
||||
poetry run pytest --black --isort --pylint --pylint-jobs=4 --mypy --flake8 --cov=pyrad3
|
||||
poetry run pytest -n 8 --black --isort --pylint --mypy --flake8 --cov=pyrad3
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user