diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 06f012436299..516295c174d8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -401,7 +401,9 @@ stages: steps: - bash: | DOCKER_TAG="$(python.version)_$(IMAGE_SUFFIX)" - PYTEST="docker run --network=host greatexpectations/test:${DOCKER_TAG} bash -c \"" + PYTEST="docker run -e AWS_ACCESS_KEY_ID=$(AWS_ACCESS_KEY_ID) " + PYTEST+="-e AWS_SECRET_ACCESS_KEY=$(AWS_SECRET_ACCESS_KEY) -e AWS_DEFAULT_REGION=$(AWS_DEFAULT_REGION) " + PYTEST+="--network=host greatexpectations/test:${DOCKER_TAG} bash -c \"" PYTEST+="printf 'Y\nY\n' | pip uninstall numpy pandas && " PYTEST+="printf 'Y\nY\n' | pip install numpy==$(min_numpy) pandas==$(min_pandas) && " PYTEST+="pytest --no-sqlalchemy --random-order --ignore=tests/cli --ignore=tests/integration/usage_statistic " @@ -409,6 +411,10 @@ stages: echo ${PYTEST} eval ${PYTEST} displayName: 'Pytest min versions' + env: + AWS_ACCESS_KEY_ID: $(AWS_ACCESS_KEY_ID) + AWS_SECRET_ACCESS_KEY: $(AWS_SECRET_ACCESS_KEY) + AWS_DEFAULT_REGION: $(AWS_DEFAULT_REGION) - job: test_usage_stats dependsOn: [make_suffix, build_push]