Switch to using git submodules for the yaml tests
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
[submodule "test_elasticsearch/rest-api-spec"]
|
||||||
|
path = test_elasticsearch/rest-api-spec
|
||||||
|
url = https://github.com/elasticsearch/elasticsearch-rest-api-spec.git
|
||||||
Submodule
+1
Submodule test_elasticsearch/rest-api-spec added at f4a65cf008
@@ -188,8 +188,8 @@ YAML_DIR = environ.get(
|
|||||||
'YAML_TEST_DIR',
|
'YAML_TEST_DIR',
|
||||||
join(
|
join(
|
||||||
dirname(__file__),
|
dirname(__file__),
|
||||||
pardir, pardir, pardir,
|
pardir,
|
||||||
'elasticsearch-rest-api-spec', 'test'
|
'rest-api-spec', 'test'
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist = pypy,py26,py27,py33
|
envlist = pypy,py26,py27,py33
|
||||||
[testenv]
|
[testenv]
|
||||||
|
whitelist_externals = git
|
||||||
setenv =
|
setenv =
|
||||||
NOSE_XUNIT_FILE = junit-{envname}.xml
|
NOSE_XUNIT_FILE = junit-{envname}.xml
|
||||||
commands = python setup.py test
|
commands =
|
||||||
|
git submodule init
|
||||||
|
python setup.py test
|
||||||
|
|||||||
Reference in New Issue
Block a user