test:migrate to latest pytest-invenio and docker-services-cli (#97)

This commit is contained in:
Mojib Wali
2020-10-01 11:44:18 +02:00
committed by GitHub
parent 917ad9a95e
commit 5f7bcb6939
3 changed files with 12 additions and 10 deletions
+8 -5
View File
@@ -7,8 +7,11 @@
# modify it under the terms of the MIT License; see LICENSE file for more
# details.
pydocstyle invenio_theme_tugraz tests docs && \
isort invenio_theme_tugraz tests --check-only --diff && \
check-manifest --ignore ".travis-*" && \
sphinx-build -qnNW docs docs/_build/html && \
pytest
docker-services-cli up postgresql es redis
python -m check_manifest --ignore ".travis-*" && \
python -m sphinx.cmd.build -qnNW docs docs/_build/html && \
docker-services-cli up es postgresql redis
python -m pytest
tests_exit_code=$?
docker-services-cli down
exit "$tests_exit_code"