Skip to content

membership-requests [#855]: waiting flow: add community-membership-request discussion page #5007

membership-requests [#855]: waiting flow: add community-membership-request discussion page

membership-requests [#855]: waiting flow: add community-membership-request discussion page #5007

Triggered via pull request July 19, 2024 19:00
Status Failure
Total duration 5m 8s
Artifacts

tests.yml

on: pull_request
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors
Tests (3.9, postgresql13, opensearch2, 16.x): invenio_app_rdm/communities_ui/views/communities.py#L1
Black format check --- /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/communities_ui/views/communities.py 2024-07-19 19:00:13.366100+00:00 +++ /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/communities_ui/views/communities.py 2024-07-19 19:03:56.634194+00:00 @@ -37,14 +37,12 @@ # e.g Settings tab permissions=permissions, active_community_header_menu_item="search", endpoint=endpoint.format(pid_value=community.to_dict()["id"]), associated_request_id=( - members_service.get_pending_request_id_if_any( - g.identity.id, community.id - ) - ) + members_service.get_pending_request_id_if_any(g.identity.id, community.id) + ), ) @pass_community(serialize=True) def communities_home(pid_value, community, community_ui): @@ -102,11 +100,10 @@ "hits" ] members_service = current_communities.service.members - return render_community_theme_template( "invenio_communities/details/home/index.html", theme=community_ui.get("theme", {}), community=community_ui, permissions=permissions, @@ -114,11 +111,11 @@ metrics=metrics, associated_request_id=( # in case public members_service.get_pending_request_id_if_any( g.identity.id, community.id ) - ) + ), ) @pass_community(serialize=True) def community_static_page(pid_value, community, community_ui, **kwargs): @@ -139,9 +136,8 @@ theme=community_ui.get("theme", {}), page=page, community=community_ui, permissions=permissions, associated_request_id=( # in case public - members_service.get_pending_request_id_if_any( - g.identity.id, community.id) - ) + members_service.get_pending_request_id_if_any(g.identity.id, community.id) + ), )
Tests (3.9, postgresql13, opensearch2, 16.x)
Process completed with exit code 1.
Tests (3.12, postgresql13, opensearch2, 16.x): invenio_app_rdm/communities_ui/views/communities.py#L1
Black format check --- /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/communities_ui/views/communities.py 2024-07-19 19:00:13.472484+00:00 +++ /home/runner/work/invenio-app-rdm/invenio-app-rdm/invenio_app_rdm/communities_ui/views/communities.py 2024-07-19 19:04:47.169691+00:00 @@ -37,14 +37,12 @@ # e.g Settings tab permissions=permissions, active_community_header_menu_item="search", endpoint=endpoint.format(pid_value=community.to_dict()["id"]), associated_request_id=( - members_service.get_pending_request_id_if_any( - g.identity.id, community.id - ) - ) + members_service.get_pending_request_id_if_any(g.identity.id, community.id) + ), ) @pass_community(serialize=True) def communities_home(pid_value, community, community_ui): @@ -102,11 +100,10 @@ "hits" ] members_service = current_communities.service.members - return render_community_theme_template( "invenio_communities/details/home/index.html", theme=community_ui.get("theme", {}), community=community_ui, permissions=permissions, @@ -114,11 +111,11 @@ metrics=metrics, associated_request_id=( # in case public members_service.get_pending_request_id_if_any( g.identity.id, community.id ) - ) + ), ) @pass_community(serialize=True) def community_static_page(pid_value, community, community_ui, **kwargs): @@ -139,9 +136,8 @@ theme=community_ui.get("theme", {}), page=page, community=community_ui, permissions=permissions, associated_request_id=( # in case public - members_service.get_pending_request_id_if_any( - g.identity.id, community.id) - ) + members_service.get_pending_request_id_if_any(g.identity.id, community.id) + ), )
Tests (3.12, postgresql13, opensearch2, 16.x)
Process completed with exit code 1.