Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions sdks/python/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -54,28 +54,28 @@ commands_post =
[testenv:py27]
commands =
python apache_beam/examples/complete/autocomplete_test.py
python setup.py nosetests --ignore-files '.*py3.py$'
python setup.py nosetests --ignore-files '.*py3.py$' {posargs}

[testenv:py35]
setenv =
RUN_SKIPPED_PY3_TESTS=0
commands =
python apache_beam/examples/complete/autocomplete_test.py
python setup.py nosetests
python setup.py nosetests {posargs}

[testenv:py36]
setenv =
RUN_SKIPPED_PY3_TESTS=0
commands =
python apache_beam/examples/complete/autocomplete_test.py
python setup.py nosetests
python setup.py nosetests {posargs}

[testenv:py37]
setenv =
RUN_SKIPPED_PY3_TESTS=0
commands =
python apache_beam/examples/complete/autocomplete_test.py
python setup.py nosetests
python setup.py nosetests {posargs}

[testenv:py27-cython]
# cython tests are only expected to work in linux (2.x and 3.x)
Expand All @@ -85,7 +85,7 @@ commands =
platform = linux2
commands =
python apache_beam/examples/complete/autocomplete_test.py
python setup.py nosetests --ignore-files '.*py3.py$'
python setup.py nosetests --ignore-files '.*py3.py$' {posargs}

[testenv:py35-cython]
# cython tests are only expected to work in linux (2.x and 3.x)
Expand All @@ -97,7 +97,7 @@ setenv =
RUN_SKIPPED_PY3_TESTS=0
commands =
python apache_beam/examples/complete/autocomplete_test.py
python setup.py nosetests
python setup.py nosetests {posargs}

[testenv:py36-cython]
# cython tests are only expected to work in linux (2.x and 3.x)
Expand All @@ -109,7 +109,7 @@ setenv =
RUN_SKIPPED_PY3_TESTS=0
commands =
python apache_beam/examples/complete/autocomplete_test.py
python setup.py nosetests
python setup.py nosetests {posargs}

[testenv:py37-cython]
# cython tests are only expected to work in linux (2.x and 3.x)
Expand All @@ -121,33 +121,33 @@ setenv =
RUN_SKIPPED_PY3_TESTS=0
commands =
python apache_beam/examples/complete/autocomplete_test.py
python setup.py nosetests
python setup.py nosetests {posargs}

[testenv:py27-gcp]
extras = test,gcp
commands =
python apache_beam/examples/complete/autocomplete_test.py
python setup.py nosetests --ignore-files '.*py3.py$'
python setup.py nosetests --ignore-files '.*py3.py$' {posargs}
# Old and new Datastore client unit tests cannot be run in the same process
# due to conflicting protobuf modules.
# TODO(BEAM-4543): Remove these separate nosetests invocations once the
# googledatastore dependency is removed.
python setup.py nosetests --tests apache_beam.io.gcp.datastore.v1
python setup.py nosetests --tests apache_beam.io.gcp.datastore.v1new
python setup.py nosetests {posargs} --tests apache_beam.io.gcp.datastore.v1
python setup.py nosetests {posargs} --tests apache_beam.io.gcp.datastore.v1new

[testenv:py35-gcp]
setenv =
RUN_SKIPPED_PY3_TESTS=0
extras = test,gcp
commands =
python setup.py nosetests
python setup.py nosetests {posargs}

[testenv:py37-gcp]
setenv =
RUN_SKIPPED_PY3_TESTS=0
extras = test,gcp
commands =
python setup.py nosetests
python setup.py nosetests {posargs}

[testenv:py27-lint]
deps =
Expand Down