feat: add cli event handler #687
ci.yml
on: pull_request
Run linters
43s
Matrix: Run tests
Annotations
21 errors and 8 warnings
Run linters
Process completed with exit code 1.
|
test_cli_trace_handler.test_no_cli_trace_handler:
packages/ragbits-core/tests/cli/test_cli_trace_handler.py#L34
assert 2 == 0
+ where 2 = <Result SystemExit(2)>.exit_code
|
test_vector_store.test_vector_store_list_columns:
packages/ragbits-core/tests/cli/test_vector_store.py#L128
assert 'Id' in '[\n {\n "id": "1",\n "key": "entry 1",\n "vector": [\n 4.0,\n 5.0\n ],\n "metadata": {\n "key": "value"\n }\n },\n {\n "id": "2",\n "key": "entry 2",\n "vector": [\n 1.0,\n 2.0\n ],\n "metadata": {\n "another_key": "another_value"\n }\n },\n {\n "id": "3",\n "key": "entry 3",\n "vector": [\n 7.0,\n 8.0\n ],\n "metadata": {\n "foo": "bar",\n "baz": "qux"\n }\n }\n]\n'
+ where '[\n {\n "id": "1",\n "key": "entry 1",\n "vector": [\n 4.0,\n 5.0\n ],\n "metadata": {\n "key": "value"\n }\n },\n {\n "id": "2",\n "key": "entry 2",\n "vector": [\n 1.0,\n 2.0\n ],\n "metadata": {\n "another_key": "another_value"\n }\n },\n {\n "id": "3",\n "key": "entry 3",\n "vector": [\n 7.0,\n 8.0\n ],\n "metadata": {\n "foo": "bar",\n "baz": "qux"\n }\n }\n]\n' = <Result okay>.stdout
|
test_vector_store.test_vector_store_list_columns_non_existent:
packages/ragbits-core/tests/cli/test_vector_store.py#L154
assert 0 == 1
+ where 0 = <Result okay>.exit_code
|
test_vector_store.test_vector_store_remove:
packages/ragbits-core/tests/cli/test_vector_store.py#L165
assert 'Removed entries with IDs: 1, 3' in '[\n {\n "id": "1"\n },\n {\n "id": "3"\n }\n]\n'
+ where '[\n {\n "id": "1"\n },\n {\n "id": "3"\n }\n]\n' = <Result okay>.stdout
|
test_cli_trace_handler.test_no_cli_trace_handler:
packages/ragbits-core/tests/cli/test_cli_trace_handler.py#L34
assert 2 == 0
+ where 2 = <Result SystemExit(2)>.exit_code
|
test_vector_store.test_vector_store_list_columns:
packages/ragbits-core/tests/cli/test_vector_store.py#L128
assert 'Id' in '[\n {\n "id": "1",\n "key": "entry 1",\n "vector": [\n 4.0,\n 5.0\n ],\n "metadata": {\n "key": "value"\n }\n },\n {\n "id": "2",\n "key": "entry 2",\n "vector": [\n 1.0,\n 2.0\n ],\n "metadata": {\n "another_key": "another_value"\n }\n },\n {\n "id": "3",\n "key": "entry 3",\n "vector": [\n 7.0,\n 8.0\n ],\n "metadata": {\n "foo": "bar",\n "baz": "qux"\n }\n }\n]\n'
+ where '[\n {\n "id": "1",\n "key": "entry 1",\n "vector": [\n 4.0,\n 5.0\n ],\n "metadata": {\n "key": "value"\n }\n },\n {\n "id": "2",\n "key": "entry 2",\n "vector": [\n 1.0,\n 2.0\n ],\n "metadata": {\n "another_key": "another_value"\n }\n },\n {\n "id": "3",\n "key": "entry 3",\n "vector": [\n 7.0,\n 8.0\n ],\n "metadata": {\n "foo": "bar",\n "baz": "qux"\n }\n }\n]\n' = <Result okay>.stdout
|
test_vector_store.test_vector_store_list_columns_non_existent:
packages/ragbits-core/tests/cli/test_vector_store.py#L154
assert 0 == 1
+ where 0 = <Result okay>.exit_code
|
test_vector_store.test_vector_store_remove:
packages/ragbits-core/tests/cli/test_vector_store.py#L165
assert 'Removed entries with IDs: 1, 3' in '[\n {\n "id": "1"\n },\n {\n "id": "3"\n }\n]\n'
+ where '[\n {\n "id": "1"\n },\n {\n "id": "3"\n }\n]\n' = <Result okay>.stdout
|
Run tests (3.10)
Process completed with exit code 1.
|
Run tests (3.11)
Process completed with exit code 1.
|
test_cli_trace_handler.test_no_cli_trace_handler:
packages/ragbits-core/tests/cli/test_cli_trace_handler.py#L34
assert 2 == 0
+ where 2 = <Result SystemExit(2)>.exit_code
|
test_vector_store.test_vector_store_list_columns:
packages/ragbits-core/tests/cli/test_vector_store.py#L128
assert 'Id' in '[\n {\n "id": "1",\n "key": "entry 1",\n "vector": [\n 4.0,\n 5.0\n ],\n "metadata": {\n "key": "value"\n }\n },\n {\n "id": "2",\n "key": "entry 2",\n "vector": [\n 1.0,\n 2.0\n ],\n "metadata": {\n "another_key": "another_value"\n }\n },\n {\n "id": "3",\n "key": "entry 3",\n "vector": [\n 7.0,\n 8.0\n ],\n "metadata": {\n "foo": "bar",\n "baz": "qux"\n }\n }\n]\n'
+ where '[\n {\n "id": "1",\n "key": "entry 1",\n "vector": [\n 4.0,\n 5.0\n ],\n "metadata": {\n "key": "value"\n }\n },\n {\n "id": "2",\n "key": "entry 2",\n "vector": [\n 1.0,\n 2.0\n ],\n "metadata": {\n "another_key": "another_value"\n }\n },\n {\n "id": "3",\n "key": "entry 3",\n "vector": [\n 7.0,\n 8.0\n ],\n "metadata": {\n "foo": "bar",\n "baz": "qux"\n }\n }\n]\n' = <Result okay>.stdout
|
test_vector_store.test_vector_store_list_columns_non_existent:
packages/ragbits-core/tests/cli/test_vector_store.py#L154
assert 0 == 1
+ where 0 = <Result okay>.exit_code
|
test_vector_store.test_vector_store_remove:
packages/ragbits-core/tests/cli/test_vector_store.py#L165
assert 'Removed entries with IDs: 1, 3' in '[\n {\n "id": "1"\n },\n {\n "id": "3"\n }\n]\n'
+ where '[\n {\n "id": "1"\n },\n {\n "id": "3"\n }\n]\n' = <Result okay>.stdout
|
Run tests (3.12)
Process completed with exit code 1.
|
test_cli_trace_handler.test_no_cli_trace_handler:
packages/ragbits-core/tests/cli/test_cli_trace_handler.py#L34
assert 2 == 0
+ where 2 = <Result SystemExit(2)>.exit_code
|
test_vector_store.test_vector_store_list_columns:
packages/ragbits-core/tests/cli/test_vector_store.py#L128
assert 'Id' in '[\n {\n "id": "1",\n "key": "entry 1",\n "vector": [\n 4.0,\n 5.0\n ],\n "metadata": {\n "key": "value"\n }\n },\n {\n "id": "2",\n "key": "entry 2",\n "vector": [\n 1.0,\n 2.0\n ],\n "metadata": {\n "another_key": "another_value"\n }\n },\n {\n "id": "3",\n "key": "entry 3",\n "vector": [\n 7.0,\n 8.0\n ],\n "metadata": {\n "foo": "bar",\n "baz": "qux"\n }\n }\n]\n'
+ where '[\n {\n "id": "1",\n "key": "entry 1",\n "vector": [\n 4.0,\n 5.0\n ],\n "metadata": {\n "key": "value"\n }\n },\n {\n "id": "2",\n "key": "entry 2",\n "vector": [\n 1.0,\n 2.0\n ],\n "metadata": {\n "another_key": "another_value"\n }\n },\n {\n "id": "3",\n "key": "entry 3",\n "vector": [\n 7.0,\n 8.0\n ],\n "metadata": {\n "foo": "bar",\n "baz": "qux"\n }\n }\n]\n' = <Result okay>.stdout
|
test_vector_store.test_vector_store_list_columns_non_existent:
packages/ragbits-core/tests/cli/test_vector_store.py#L154
assert 0 == 1
+ where 0 = <Result okay>.exit_code
|
test_vector_store.test_vector_store_remove:
packages/ragbits-core/tests/cli/test_vector_store.py#L165
assert 'Removed entries with IDs: 1, 3' in '[\n {\n "id": "1"\n },\n {\n "id": "3"\n }\n]\n'
+ where '[\n {\n "id": "1"\n },\n {\n "id": "3"\n }\n]\n' = <Result okay>.stdout
|
Run tests (3.13)
Process completed with exit code 1.
|
Run linters
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run linters
No files were found with the provided path: report.xml. No artifacts will be uploaded.
|
Run linters
No files were found with the provided path: requirements-freeze.txt
licenses.txt
trivy-scanning-results.txt. No artifacts will be uploaded.
|
Run tests (3.10)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run tests (3.11)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run tests (3.12)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "test-report".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Run tests (3.13)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-report
Expired
|
156 KB |
|