From 8d82fe42f708cb6e6a803f402c4067138cd229e4 Mon Sep 17 00:00:00 2001 From: Scott Sievert Date: Tue, 19 Feb 2019 16:26:19 -0600 Subject: [PATCH] TST: add circleci test for no distributed --- .circleci/config.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index f78e90609..cf21da291 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -104,6 +104,44 @@ jobs: path: test-reports - store_artifacts: path: test-reports + no_distributed: + docker: + - image: continuumio/miniconda:latest + environment: + PYTHON: "3.6" + ENV_NAME: "dask-ml-test" + steps: + - checkout + - restore_cache: + key: deps-{{ .Branch }}-3.6-{{ checksum "ci/environment-3.6.yml" }} + - run: + name: configure conda + command: ./ci/install-circle.sh + - run: + command: | + source activate ${ENV_NAME} + conda uninstall -y --force distributed + mkdir test-reports + pytest --cov=dask_ml --junitxml=test-reports/junit.xml tests + - run: + command: | + source activate ${ENV_NAME} + echo "[codecov]" + codecov + echo "[flake8]" + flake8 + echo "[black]" + black --check . + echo "[isort]" + isort --recursive --check-only . + - save_cache: + key: deps-{{ .Branch }}-3.6-no-dist-{{ checksum "ci/environment-3.6.yml" }} + paths: + - "/opt/conda/envs/${ENV_NAME}/" + - store_test_results: + path: test-reports + - store_artifacts: + path: test-reports workflows: version: 2