Skip to content

Commit

Permalink
TST: add circleci test for no distributed
Browse files Browse the repository at this point in the history
  • Loading branch information
stsievert committed Feb 19, 2019
1 parent d081c65 commit 8d82fe4
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8d82fe4

Please sign in to comment.