From ff15f3679818dc8f0ea4610ed28cc5957ac68901 Mon Sep 17 00:00:00 2001 From: Nicola Soranzo Date: Tue, 21 Aug 2018 00:19:05 +0100 Subject: [PATCH] Run Py2 API and integration tests with pytest Remove `-api_py3`, `--framework_py3` and `--integration_py3` options of `run_tests.sh`. To run the tests under Python3 it is enough to prepend `GALAXY_VIRTUAL_ENV=.venv3` (or add `--python3` when using `--dockerize`). --- .ci/jenkins/api-py3/run_tests.sh | 2 +- .ci/jenkins/framework-py3/run_tests.sh | 2 +- .ci/jenkins/integration-py3/run_tests.sh | 2 +- run_tests.sh | 33 ++---------------------- 4 files changed, 5 insertions(+), 34 deletions(-) diff --git a/.ci/jenkins/api-py3/run_tests.sh b/.ci/jenkins/api-py3/run_tests.sh index ff50c56eaf2..24790d0b720 100644 --- a/.ci/jenkins/api-py3/run_tests.sh +++ b/.ci/jenkins/api-py3/run_tests.sh @@ -1,3 +1,3 @@ #!/bin/bash -./run_tests.sh --dockerize --python3 --db postgres --clean_pyc --skip_flakey_fails -api_py3 "$@" +./run_tests.sh --dockerize --python3 --db postgres --clean_pyc --skip_flakey_fails -api "$@" diff --git a/.ci/jenkins/framework-py3/run_tests.sh b/.ci/jenkins/framework-py3/run_tests.sh index 7264876e6df..f8bfe97335d 100644 --- a/.ci/jenkins/framework-py3/run_tests.sh +++ b/.ci/jenkins/framework-py3/run_tests.sh @@ -1,3 +1,3 @@ #!/bin/bash -./run_tests.sh --dockerize --python3 --db postgres --clean_pyc --framework_py3 "$@" +./run_tests.sh --dockerize --python3 --db postgres --clean_pyc --framework "$@" diff --git a/.ci/jenkins/integration-py3/run_tests.sh b/.ci/jenkins/integration-py3/run_tests.sh index 5881c5989a5..b45d68d67b5 100755 --- a/.ci/jenkins/integration-py3/run_tests.sh +++ b/.ci/jenkins/integration-py3/run_tests.sh @@ -1,3 +1,3 @@ #!/bin/bash -./run_tests.sh --dockerize --python3 --db postgres --clean_pyc --integration_py3 "$@" +./run_tests.sh --dockerize --python3 --db postgres --clean_pyc --integration "$@" diff --git a/run_tests.sh b/run_tests.sh index 7ee34fe3317..d922a097057 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -11,7 +11,6 @@ cat <