Skip to content

Commit

Permalink
Merge pull request #22 from kmpaul/cleanup
Browse files Browse the repository at this point in the history
Cleanup before release
  • Loading branch information
Kevin Paul authored Jan 30, 2019
2 parents 49971fe + bac1170 commit 8e12b9e
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ jobs:
steps:
- checkout
- restore_cache:
key: deps-{{ .Branch }}-2.7-mpich-{{ checksum "ci/environment-dev-2.7-mpich.yml" }}
key: deps-{{ .Branch }}-2.7-mpich-{{ checksum ".circleci/env-2.7-mpich.yml" }}
- run:
name: Install and activate conda environment
command: ./ci/install-circle.sh
command: .circleci/install.sh
- run:
name: Running tests
command: |
source activate ${ENV_NAME}
pytest --junitxml=test-reports/junit.xml --cov=./ dask_mpi/tests/ --verbose
- save_cache:
key: deps-{{ .Branch }}-2.7-mpich-{{ checksum "ci/environment-dev-2.7-mpich.yml" }}
key: deps-{{ .Branch }}-2.7-mpich-{{ checksum ".circleci/env-2.7-mpich.yml" }}
paths:
- "/opt/conda/envs/${ENV_NAME}/"
- "/opt/conda/pkgs"
Expand All @@ -53,17 +53,17 @@ jobs:
steps:
- checkout
- restore_cache:
key: deps-{{ .Branch }}-2.7-openmpi-{{ checksum "ci/environment-dev-2.7-openmpi.yml" }}
key: deps-{{ .Branch }}-2.7-openmpi-{{ checksum ".circleci/env-2.7-openmpi.yml" }}
- run:
name: Install and activate conda environment
command: ./ci/install-circle.sh
command: .circleci/install.sh
- run:
name: Running tests
command: |
source activate ${ENV_NAME}
pytest --junitxml=test-reports/junit.xml --cov=./ dask_mpi/tests/ --verbose
- save_cache:
key: deps-{{ .Branch }}-2.7-openmpi-{{ checksum "ci/environment-dev-2.7-openmpi.yml" }}
key: deps-{{ .Branch }}-2.7-openmpi-{{ checksum ".circleci/env-2.7-openmpi.yml" }}
paths:
- "/opt/conda/envs/${ENV_NAME}/"
- "/opt/conda/pkgs"
Expand All @@ -80,17 +80,17 @@ jobs:
steps:
- checkout
- restore_cache:
key: deps-{{ .Branch }}-3.6-mpich-{{ checksum "ci/environment-dev-3.6-mpich.yml" }}
key: deps-{{ .Branch }}-3.6-mpich-{{ checksum ".circleci/env-3.6-mpich.yml" }}
- run:
name: Install and activate conda environment
command: ./ci/install-circle.sh
command: .circleci/install.sh
- run:
name: Running tests
command: |
source activate ${ENV_NAME}
pytest --junitxml=test-reports/junit.xml --cov=./ dask_mpi/tests/ --verbose
- save_cache:
key: deps-{{ .Branch }}-3.6-mpich-{{ checksum "ci/environment-dev-3.6-mpich.yml" }}
key: deps-{{ .Branch }}-3.6-mpich-{{ checksum ".circleci/env-3.6-mpich.yml" }}
paths:
- "/opt/conda/envs/${ENV_NAME}/"
- "/opt/conda/pkgs"
Expand All @@ -116,17 +116,17 @@ jobs:
steps:
- checkout
- restore_cache:
key: deps-{{ .Branch }}-3.6-openmpi-{{ checksum "ci/environment-dev-3.6-openmpi.yml" }}
key: deps-{{ .Branch }}-3.6-openmpi-{{ checksum ".circleci/env-3.6-openmpi.yml" }}
- run:
name: Install and activate conda environment
command: ./ci/install-circle.sh
command: .circleci/install.sh
- run:
name: Running tests
command: |
source activate ${ENV_NAME}
pytest --junitxml=test-reports/junit.xml --cov=./ dask_mpi/tests/ --verbose
- save_cache:
key: deps-{{ .Branch }}-3.6-openmpi-{{ checksum "ci/environment-dev-3.6-openmpi.yml" }}
key: deps-{{ .Branch }}-3.6-openmpi-{{ checksum ".circleci/env-3.6-openmpi.yml" }}
paths:
- "/opt/conda/envs/${ENV_NAME}/"
- "/opt/conda/pkgs"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion ci/install-circle.sh → .circleci/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ conda config --set always_yes true --set changeps1 false --set quiet true
conda update -q conda
conda config --set pip_interop_enabled True # Enable pip interoperability
conda config --add channels conda-forge
conda env create -f ci/environment-dev-${PYTHON}-${MPI}.yml --name=${ENV_NAME} --quiet
conda env create -f .circleci/env-${PYTHON}-${MPI}.yml --name=${ENV_NAME} --quiet
conda env list
source activate ${ENV_NAME}
pip install pip --upgrade
Expand Down
2 changes: 1 addition & 1 deletion dask_mpi/tests/core_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from distributed import Client
from distributed.metrics import time

from dask_mpi.core import initialize
from dask_mpi import initialize

initialize()

Expand Down

0 comments on commit 8e12b9e

Please sign in to comment.