Skip to content

global: remove invenio-admin #149

global: remove invenio-admin

global: remove invenio-admin #149

Triggered via pull request April 2, 2024 20:48
Status Failure
Total duration 3m 32s
Artifacts

tests.yml

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

Annotations

8 errors
Tests (3.9, pypi, redis, postgresql14): invenio_access/models.py#L1
Black format check --- /home/runner/work/invenio-access/invenio-access/invenio_access/models.py 2024-04-02 20:48:45.815868+00:00 +++ /home/runner/work/invenio-access/invenio-access/invenio_access/models.py 2024-04-02 20:51:42.063277+00:00 @@ -233,15 +233,15 @@ """Remove the action from cache when an item is updated.""" action_history = get_history(target, "action") argument_history = get_history(target, "argument") owner_history = get_history( target, - "user" - if isinstance(target, ActionUsers) - else "role" - if isinstance(target, ActionRoles) - else "role_name", + ( + "user" + if isinstance(target, ActionUsers) + else "role" if isinstance(target, ActionRoles) else "role_name" + ), ) if ( action_history.has_changes() or argument_history.has_changes() @@ -251,13 +251,15 @@ get_action_cache_key(target.action, target.argument) ) current_access.delete_action_cache( get_action_cache_key( action_history.deleted[0] if action_history.deleted else target.action, - argument_history.deleted[0] - if argument_history.deleted - else target.argument, + ( + argument_history.deleted[0] + if argument_history.deleted + else target.argument + ), ) ) listen(ActionUsers, "after_insert", removed_or_inserted_action)
Tests (3.9, pypi, redis, postgresql14)
Process completed with exit code 1.
Tests (3.9, pypi, redis, mysql8)
The job was canceled because "_3_9_pypi_redis_postgresq" failed.
Tests (3.9, pypi, redis, mysql8)
The operation was canceled.
Tests (3.12, pypi, redis, mysql8)
The job was canceled because "_3_9_pypi_redis_postgresq" failed.
Tests (3.12, pypi, redis, mysql8)
The operation was canceled.
Tests (3.12, pypi, redis, postgresql14)
The job was canceled because "_3_9_pypi_redis_postgresq" failed.
Tests (3.12, pypi, redis, postgresql14)
The operation was canceled.