diff --git a/.circleci/config.yml b/.circleci/config.yml index 7eac6cf0b..464ae6e98 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -256,6 +256,40 @@ jobs: create $CIRCLE_TAG --name $CIRCLE_TAG \ --publish ./dist/* + pynwb-dev-python37: + docker: + - image: circleci/python:3.7.0-stretch + steps: + - checkout + - run: git submodule sync + - run: git submodule update --init + - run: + <<: *initialize-venv + - run: + name: Install dev branch of PyNWB and re-install hdmf + command: | + . ../venv/bin/activate + git clone https://github.com/NeurodataWithoutBorders/pynwb.git + cd pynwb + git submodule sync + git submodule update --init + pip install -U -rrequirements-dev.txt -rrequirements.txt + pip check + python setup.py develop + cd .. + pip uninstall -y hdmf + python setup.py develop + pip show hdmf + # Install is expected to be quick. Increase timeout in case there are some network issues. + # While pip installing tox does not output by default. Circle thinks task is dead after 10 min. + no_output_timeout: 30m + - run: + name: Run the PyNWB tests + command: | + . ../venv/bin/activate + cd pynwb + python test.py -v + workflows: version: 2 test-package-publish: @@ -312,3 +346,5 @@ workflows: only: /^[0-9]+(\.[0-9]+)*(\.post[0-9]+)?$/ branches: ignore: /.*/ + - pynwb-dev-python37: + <<: *no_filters