Skip to content

Commit

Permalink
Try use xdist to speedup test suite run
Browse files Browse the repository at this point in the history
  • Loading branch information
prusse-martin committed Nov 10, 2023
1 parent 72d7b81 commit a5a191e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions environment.devenv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ dependencies:
- pytest-rerunfailures
- pytest-selenium >2
- pytest-timeout
- pytest-xdist>=1.15
# Recent selenium versions (>=4.10.0) are currently incompatible with pytest-selenium (some constructor changed argument list).
- selenium >=4.0.0, <4.10.0
{% if sys.platform != 'win32' %}
Expand Down
2 changes: 1 addition & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def docs(ctx, python_version=None):
@invoke.task
def test(ctx):
print_message('test'.format(), color=Fore.BLUE, bright=True)
cmd = 'pytest --cov=qmxgraph --timeout=30 -v --durations=10'
cmd = 'pytest --cov=qmxgraph --timeout=30 -v --durations=10 -n auto --color=yes'

import subprocess

Expand Down

0 comments on commit a5a191e

Please sign in to comment.