[AIRFLOW-6770] Run particular test using breeze CLI bug fix (#7396)
* [AIRFLOW-6770] Run particular test using breeze CLI bug fix * [AIRFLOW-6770] Fix typo in travis config * [AIRFLOW-6770] Fix variable name and remove unnecessary travis command
This commit is contained in:
Родитель
1e00243014
Коммит
a0fa964c5e
|
@ -101,7 +101,6 @@ jobs:
|
|||
ENABLED_INTEGRATIONS="cassandra kerberos mongo openldap rabbitmq redis"
|
||||
RUN_INTEGRATION_TESTS=all
|
||||
stage: test
|
||||
script: ./scripts/ci/ci_run_airflow_testing.sh tests/tests_core.py
|
||||
- name: "Tests [MySQL][3.7][kerberos]"
|
||||
env: >-
|
||||
BACKEND=mysql
|
||||
|
|
|
@ -209,18 +209,22 @@ if [[ -n ${RUN_INTEGRATION_TESTS:=""} ]]; then
|
|||
CI_ARGS+=("--integrations" "${RUN_INTEGRATION_TESTS}" "-rpfExX")
|
||||
fi
|
||||
|
||||
TEST_DIR="tests/"
|
||||
TESTS_TO_RUN="tests/"
|
||||
|
||||
if [[ ${#@} -gt 0 && -n "$1" ]]; then
|
||||
TESTS_TO_RUN="$1"
|
||||
fi
|
||||
|
||||
if [[ -n ${RUNTIME} ]]; then
|
||||
CI_ARGS+=("--runtime" "${RUNTIME}" "-rpfExX")
|
||||
TEST_DIR="tests/runtime"
|
||||
TESTS_TO_RUN="tests/runtime"
|
||||
if [[ ${RUNTIME} == "kubernetes" ]]; then
|
||||
export SKIP_INIT_DB=true
|
||||
"${MY_DIR}/deploy_airflow_to_kubernetes.sh"
|
||||
fi
|
||||
fi
|
||||
|
||||
ARGS=("${CI_ARGS[@]}" "${TEST_DIR}")
|
||||
ARGS=("${CI_ARGS[@]}" "${TESTS_TO_RUN}")
|
||||
"${MY_DIR}/run_ci_tests.sh" "${ARGS[@]}"
|
||||
|
||||
in_container_script_end
|
||||
|
|
Загрузка…
Ссылка в новой задаче