mirror of
https://github.com/elastic/eland.git
synced 2025-07-11 00:02:14 +08:00
Fix installed pandas version on Jenkins
This commit is contained in:
parent
4c1af42c14
commit
c0e861dc77
@ -36,4 +36,4 @@ docker run \
|
|||||||
--name eland-test-runner \
|
--name eland-test-runner \
|
||||||
--rm \
|
--rm \
|
||||||
elastic/eland \
|
elastic/eland \
|
||||||
nox -s lint "test-${PYTHON_VERSION}(pandas_version='${PANDAS_VERSION}')"
|
nox -s "test-${PYTHON_VERSION}(pandas_version='${PANDAS_VERSION}')"
|
||||||
|
@ -5,8 +5,8 @@ ELASTICSEARCH_VERSION:
|
|||||||
- 7.x-SNAPSHOT
|
- 7.x-SNAPSHOT
|
||||||
|
|
||||||
PANDAS_VERSION:
|
PANDAS_VERSION:
|
||||||
- 1.2
|
- 1.2.0
|
||||||
- 1.3
|
- 1.3.0
|
||||||
|
|
||||||
PYTHON_VERSION:
|
PYTHON_VERSION:
|
||||||
- 3.9
|
- 3.9
|
||||||
|
@ -79,7 +79,7 @@ Once your changes and tests are ready to submit for review:
|
|||||||
$ nox -s format
|
$ nox -s format
|
||||||
|
|
||||||
# Run the test suite
|
# Run the test suite
|
||||||
$ pytest --doctest-modules tests/
|
$ pytest --doctest-modules eland/ tests/
|
||||||
$ pytest --nbval tests/notebook/
|
$ pytest --nbval tests/notebook/
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -87,7 +87,7 @@ Once your changes and tests are ready to submit for review:
|
|||||||
|
|
||||||
# Run the test suite
|
# Run the test suite
|
||||||
$ pytest --doctest-modules eland/ tests/
|
$ pytest --doctest-modules eland/ tests/
|
||||||
$ pytest --nbval eland/tests/notebook/
|
$ pytest --nbval tests/notebook/
|
||||||
|
|
||||||
2. Sign the Contributor License Agreement
|
2. Sign the Contributor License Agreement
|
||||||
|
|
||||||
|
@ -91,7 +91,7 @@ def lint(session):
|
|||||||
|
|
||||||
|
|
||||||
@nox.session(python=["3.7", "3.8", "3.9"])
|
@nox.session(python=["3.7", "3.8", "3.9"])
|
||||||
@nox.parametrize("pandas_version", ["1.2", "1.3"])
|
@nox.parametrize("pandas_version", ["1.2.0", "1.3.0"])
|
||||||
def test(session, pandas_version: str):
|
def test(session, pandas_version: str):
|
||||||
session.install("-r", "requirements-dev.txt")
|
session.install("-r", "requirements-dev.txt")
|
||||||
session.install(".")
|
session.install(".")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user