Skip to content

views: optional index page registration #5582

views: optional index page registration

views: optional index page registration #5582

Triggered via pull request January 14, 2025 16:21
Status Failure
Total duration 4m 47s
Artifacts

tests.yml

on: pull_request
Matrix: JS / Tests
Matrix: Python / Tests
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Python / Tests (3.9, postgresql14, opensearch2): invenio_app_rdm/config.py#L1
Black format check --- /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/config.py 2025-01-14 16:21:20.019460+00:00 +++ /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/config.py 2025-01-14 16:25:08.897199+00:00 @@ -273,10 +273,11 @@ THEME_FRONTPAGE_TEMPLATE = "invenio_app_rdm/frontpage.html" """Frontpage template.""" THEME_HEADER_LOGIN_TEMPLATE = "invenio_app_rdm/header_login.html" """Header login base template.""" + def _get_package_version(): from importlib.metadata import PackageNotFoundError, version from packaging.version import Version
Python / Tests (3.9, postgresql14, opensearch2): invenio_app_rdm/theme/views.py#L1
Black format check --- /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/theme/views.py 2025-01-14 16:21:20.040460+00:00 +++ /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/theme/views.py 2025-01-14 16:25:23.647073+00:00 @@ -41,13 +41,11 @@ "invenio_app_rdm", __name__, template_folder="templates", static_folder="static", ) - blueprint.add_url_rule( - **create_url_rule(routes["index"], default_view_func=index) - ) + blueprint.add_url_rule(**create_url_rule(routes["index"], default_view_func=index)) blueprint.add_url_rule( **create_url_rule(routes["robots"], default_view_func=robots) ) blueprint.add_url_rule( **create_url_rule(routes["help_search"], default_view_func=help_search)
Python / Tests (3.9, postgresql14, opensearch2)
Process completed with exit code 1.
Python / Tests (3.12, postgresql14, opensearch2): invenio_app_rdm/config.py#L1
Black format check --- /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/config.py 2025-01-14 16:21:19.593820+00:00 +++ /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/config.py 2025-01-14 16:25:18.979798+00:00 @@ -273,10 +273,11 @@ THEME_FRONTPAGE_TEMPLATE = "invenio_app_rdm/frontpage.html" """Frontpage template.""" THEME_HEADER_LOGIN_TEMPLATE = "invenio_app_rdm/header_login.html" """Header login base template.""" + def _get_package_version(): from importlib.metadata import PackageNotFoundError, version from packaging.version import Version
Python / Tests (3.12, postgresql14, opensearch2): invenio_app_rdm/theme/views.py#L1
Black format check --- /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/theme/views.py 2025-01-14 16:21:19.614821+00:00 +++ /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/theme/views.py 2025-01-14 16:25:39.341543+00:00 @@ -41,13 +41,11 @@ "invenio_app_rdm", __name__, template_folder="templates", static_folder="static", ) - blueprint.add_url_rule( - **create_url_rule(routes["index"], default_view_func=index) - ) + blueprint.add_url_rule(**create_url_rule(routes["index"], default_view_func=index)) blueprint.add_url_rule( **create_url_rule(routes["robots"], default_view_func=robots) ) blueprint.add_url_rule( **create_url_rule(routes["help_search"], default_view_func=help_search)
Python / Tests (3.12, postgresql14, opensearch2)
Process completed with exit code 1.