Skip to content

views: optional index page registration #5571

views: optional index page registration

views: optional index page registration #5571

Triggered via pull request January 8, 2025 14:37
Status Failure
Total duration 5m 17s
Artifacts

tests.yml

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

Annotations

10 errors
JS / Tests (20.x)
Process completed with exit code 1.
JS / Tests (18.x)
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-08 14:37:31.562020+00:00 +++ /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/config.py 2025-01-08 14:41:45.505133+00:00 @@ -276,10 +276,11 @@ THEME_HEADER_LOGIN_TEMPLATE = "invenio_app_rdm/header_login.html" """Header login base template.""" RDM_FRONTPAGE = True """Use RDM frontpage.""" + 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-08 14:37:31.584020+00:00 +++ /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/theme/views.py 2025-01-08 14:42:06.481601+00:00 @@ -42,11 +42,13 @@ __name__, template_folder="templates", static_folder="static", ) if app.config["RDM_FRONTPAGE"]: - 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.
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-08 14:37:31.906802+00:00 +++ /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/config.py 2025-01-08 14:42:09.315630+00:00 @@ -276,10 +276,11 @@ THEME_HEADER_LOGIN_TEMPLATE = "invenio_app_rdm/header_login.html" """Header login base template.""" RDM_FRONTPAGE = True """Use RDM frontpage.""" + 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-08 14:37:31.928802+00:00 +++ /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/theme/views.py 2025-01-08 14:42:25.075903+00:00 @@ -42,11 +42,13 @@ __name__, template_folder="templates", static_folder="static", ) if app.config["RDM_FRONTPAGE"]: - 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.