Skip to content

Commit

Permalink
Parallelize unit tests on the pytest level
Browse files Browse the repository at this point in the history
It won't be a huge gain, maybe only 5 minutes in total,
because we are targeting 3 to 4 minutes jobs,
and travis runners have only 2 cores.

PR #1706. Ref #1669.

Signed-off-by: Fabrice Flore-Thebault <[email protected]>
  • Loading branch information
themr0c authored and webknjaz committed Jan 29, 2019
1 parent 51ede88 commit a657ef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ extras =
openstack
vagrant
commands =
unit: pytest test/unit/ --cov={toxinidir}/molecule/ --no-cov-on-fail {posargs}
unit: pytest test/unit/ --cov={toxinidir}/molecule/ --no-cov-on-fail -n auto {posargs}
functional: pytest test/functional/ {posargs}
lint: flake8
lint: yamllint -s test/ molecule/
Expand Down

0 comments on commit a657ef8

Please sign in to comment.