split addons/editors/devhub build jobs
This commit is contained in:
Родитель
a23a257623
Коммит
15b80c5f12
|
@ -7,7 +7,9 @@ env:
|
|||
- TOX_ENV=docs
|
||||
- TOX_ENV=assets
|
||||
- TOX_ENV=es
|
||||
- TOX_ENV=addons-devhub-editors
|
||||
- TOX_ENV=addons
|
||||
- TOX_ENV=devhub
|
||||
- TOX_ENV=editors
|
||||
- TOX_ENV=main
|
||||
services:
|
||||
- memcached
|
||||
|
|
18
tox.ini
18
tox.ini
|
@ -1,5 +1,5 @@
|
|||
[tox]
|
||||
envlist = es, addons-devhub-editors, main, flake8, docs, assets
|
||||
envlist = es, addons, devhub, editors, main, flake8, docs, assets
|
||||
|
||||
[testenv]
|
||||
basepython = python2.7
|
||||
|
@ -23,11 +23,23 @@ commands =
|
|||
npm install {toxinidir}
|
||||
py.test -m es_tests -v {posargs}
|
||||
|
||||
[testenv:addons-devhub-editors]
|
||||
[testenv:addons]
|
||||
deps = {[base]deps}
|
||||
commands =
|
||||
npm install {toxinidir}
|
||||
py.test --create-db -n 3 -m 'not es_tests' -v src/olympia/addons/ src/olympia/devhub/ src/olympia/editors/ {posargs}
|
||||
py.test --create-db -n 3 -m 'not es_tests' -v src/olympia/addons/ {posargs}
|
||||
|
||||
[testenv:devhub]
|
||||
deps = {[base]deps}
|
||||
commands =
|
||||
npm install {toxinidir}
|
||||
py.test --create-db -n 3 -m 'not es_tests' -v src/olympia/devhub/ {posargs}
|
||||
|
||||
[testenv:editors]
|
||||
deps = {[base]deps}
|
||||
commands =
|
||||
npm install {toxinidir}
|
||||
py.test --create-db -n 3 -m 'not es_tests' -v src/olympia/editors/ {posargs}
|
||||
|
||||
[testenv:main]
|
||||
deps = {[base]deps}
|
||||
|
|
Загрузка…
Ссылка в новой задаче