Fix pytests and enable parallel registry tests

This commit is contained in:
Joseph Schorr 2016-12-15 12:04:57 -05:00
parent 135f4dae0c
commit 481cebe46b
7 changed files with 29 additions and 13 deletions

View file

@ -162,7 +162,7 @@ RUN if [ "$RUN_TESTS" = true ]; then \
fi
RUN if [ "$RUN_TESTS" = true ]; then \
TEST=true PYTHONPATH="." venv/bin/py.test --verbose --show-count -x --color=no test/registry_tests.py ; \
TEST=true PYTHONPATH="." venv/bin/py.test --verbose --show-count -n auto -x --color=no test/registry_tests.py ; \
fi
RUN PYTHONPATH=. venv/bin/alembic heads | grep -E '^[0-9a-f]+ \(head\)$' > ALEMBIC_HEAD