diff --git a/run-tests.sh b/run-tests.sh index e375a80f28529a8e7cb8b1f4b12384812b3305fd..0299abc2dc9b853ff64bc25436fbfc02f98aa0eb 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -4,12 +4,13 @@ # This file is part of Invenio. # Copyright (C) 2016-2020 CERN. # Copyright (C) 2020 Northwestern University. +# Copyright (C) 2022 Graz University of Technology. # # Invenio is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. -python -m check_manifest --ignore ".*-requirements.txt" && \ -python -m setup extract_messages --output-file /dev/null +python -m check_manifest && \ +python -m setup extract_messages --dry-run python -m sphinx.cmd.build -qnNW docs docs/_build/html && \ python -m pytest python -m sphinx.cmd.build -qnNW -b doctest docs docs/_build/doctest diff --git a/setup.cfg b/setup.cfg index b77a9db1aa402935e0253d4d740ca4703955d55d..8bceb0a8f0f7d05b5233063942002774b3644728 100644 --- a/setup.cfg +++ b/setup.cfg @@ -107,6 +107,10 @@ output-dir = invenio_previewer/translations/ [isort] profile=black +[check-manifest] +ignore = + *-requirements.txt + [tool:pytest] addopts = --black --isort --pydocstyle --cov=invenio_previewer --cov-report=term-missing testpaths = tests invenio_previewer