Skip to content
Triggered via push March 25, 2024 13:39
Status Failure
Total duration 23m 42s
Billable time 32m
Artifacts

test.yml

on: push
actionlint
6s
actionlint
Check if automatic project update was successful
3s
Check if automatic project update was successful
pre-commit
40s
pre-commit
docs
31s
docs
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

20 errors
test (3.9): tests/test_app.py#L21
test_app_injection magic_di.exceptions.InjectionError: Failed to inject <class 'tests.conftest.Service'>. /home/runner/work/magic-di/magic-di/tests/conftest.py:40 Missing arguments: repo: 'Repository' workers: 'AsyncWorkers | None' Hint: Did you forget to make these dependencies connectable? (Inherit from Connectable or implement __connect__ and __disconnect__ methods)
test (3.9): tests/test_app.py#L42
test_app_injection_with_depends TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'
test (3.9): tests/test_app.py#L103
test_app_injection_clients_connect[False] magic_di.exceptions.InjectionError: Failed to inject <class 'tests.conftest.Service'>. /home/runner/work/magic-di/magic-di/tests/conftest.py:40 Missing arguments: repo: 'Repository' workers: 'AsyncWorkers | None' Hint: Did you forget to make these dependencies connectable? (Inherit from Connectable or implement __connect__ and __disconnect__ methods)
test (3.9): tests/test_app.py#L103
test_app_injection_clients_connect[True] magic_di.exceptions.InjectionError: Failed to inject <class 'tests.conftest.Service'>. /home/runner/work/magic-di/magic-di/tests/conftest.py:40 Missing arguments: repo: 'Repository' workers: 'AsyncWorkers | None' Hint: Did you forget to make these dependencies connectable? (Inherit from Connectable or implement __connect__ and __disconnect__ methods)
test (3.9): tests/test_celery.py#L220
test_retries_func_based_task magic_di.exceptions.InspectionError: Failed to inspect <bound method InjectableCeleryTask.run_wrapper.<locals>.runner of <@task: tests.test_celery.ping_task of __main__ at 0x7f04c887a070>>. See the exception above
test (3.9): tests/test_celery.py#L239
test_retries_class_based_task magic_di.exceptions.InspectionError: Failed to inspect <bound method InjectableCeleryTask.run_wrapper.<locals>.runner of <@task: tests.test_celery.service_ping of __main__ at 0x7f04c8d52880>>. See the exception above
test (3.9): tests/test_celery.py#L288
test_async_function_based_tasks_inside_event_loop[False-True-expected_mock_calls0] magic_di.exceptions.InspectionError: Failed to inspect <bound method InjectableCeleryTask.run_wrapper.<locals>.runner of <@task: tests.test_celery.ping_task of __main__ at 0x7f04c8c5c220>>. See the exception above
test (3.9): tests/test_celery.py#L288
test_async_function_based_tasks_inside_event_loop[True-False-expected_mock_calls1] magic_di.exceptions.InspectionError: Failed to inspect <bound method InjectableCeleryTask.run_wrapper.<locals>.runner of <@task: tests.test_celery.ping_task of __main__ at 0x7f04c8123040>>. See the exception above
test (3.9): tests/test_celery.py#L288
test_async_function_based_tasks_inside_event_loop[True-True-expected_mock_calls2] magic_di.exceptions.InspectionError: Failed to inspect <bound method InjectableCeleryTask.run_wrapper.<locals>.runner of <@task: tests.test_celery.ping_task of __main__ at 0x7f04c836eeb0>>. See the exception above
test (3.9): tests/test_injector.py#L25
test_class_injection_success magic_di.exceptions.InjectionError: Failed to inject <class 'tests.conftest.Service'>. /home/runner/work/magic-di/magic-di/tests/conftest.py:40 Missing arguments: repo: 'Repository' workers: 'AsyncWorkers | None' Hint: Did you forget to make these dependencies connectable? (Inherit from Connectable or implement __connect__ and __disconnect__ methods)
test (3.11)
This event loop is already running
test (3.8)
This event loop is already running
pre-commit
Process completed with exit code 1.
test (3.12)
This event loop is already running
test (3.10): tests/test_celery.py#L131
test_async_function_based_tasks Exception: <class 'sqlalchemy.exc.OperationalError'>(('(sqlite3.OperationalError) database is locked',))
test (3.10): tests/test_celery.py#L152
test_sync_function_based_tasks Exception: <class 'sqlalchemy.exc.OperationalError'>(('(sqlite3.OperationalError) database is locked',))
test (3.10): tests/test_celery.py#L172
test_async_class_based_tasks Exception: <class 'sqlalchemy.exc.OperationalError'>(('(sqlite3.OperationalError) database is locked',))
test (3.10): tests/test_celery.py#L192
test_sync_class_based_tasks Exception: <class 'sqlalchemy.exc.OperationalError'>(('(sqlite3.OperationalError) database is locked',))
test (3.10)
This event loop is already running
test (3.10)
Process completed with exit code 1.