forked from p15670423/monkey
Project: Run pytest in parallel on TravisCI
This commit is contained in:
parent
b6bc631d23
commit
a1c1a00f5f
|
@ -65,7 +65,8 @@ script:
|
|||
|
||||
## Run unit tests and generate coverage data
|
||||
- cd monkey # This is our source dir
|
||||
- python -m pytest --cov=. # Have to use `python -m pytest` instead of `pytest` to add "{$builddir}/monkey/monkey" to sys.path.
|
||||
- pip install pytest-xdist
|
||||
- python -m pytest -n auto --cov=. # Have to use `python -m pytest` instead of `pytest` to add "{$builddir}/monkey/monkey" to sys.path.
|
||||
|
||||
# Check JS code. The npm install must happen AFTER the flake8 because the node_modules folder will cause a lot of errors.
|
||||
- cd monkey_island/cc/ui
|
||||
|
|
Loading…
Reference in New Issue