Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to add PyNWB test to CircleCI #148

Merged
merged 9 commits into from
Sep 30, 2019
36 changes: 36 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
rly marked this conversation as resolved.
Show resolved Hide resolved
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:
Expand Down Expand Up @@ -312,3 +346,5 @@ workflows:
only: /^[0-9]+(\.[0-9]+)*(\.post[0-9]+)?$/
branches:
ignore: /.*/
- pynwb-dev-python37:
<<: *no_filters