feat(cli): better error when no instance configured #614
ci.yml
on: pull_request
Run linters
1m 51s
Matrix: Run tests
Annotations
9 errors and 8 warnings
test_vector_store.test_vector_store_cli_no_store:
packages/ragbits-core/tests/cli/test_vector_store.py#L90
assert 'Could not find default factory or configuration' in "You need to provide the vector store instance be used. You can do this by \neither:\n- providing a path to a YAML configuration file with the --yaml-path option\n- providing a Python path to a function that creates a vector store with the \n--factory-path option\n- setting the default configuration or factory function in your project's \npyproject.toml file\n"
+ where "You need to provide the vector store instance be used. You can do this by \neither:\n- providing a path to a YAML configuration file with the --yaml-path option\n- providing a Python path to a function that creates a vector store with the \n--factory-path option\n- setting the default configuration or factory function in your project's \npyproject.toml file\n" = <Result SystemExit(1)>.stderr
|
test_vector_store.test_vector_store_cli_no_store:
packages/ragbits-core/tests/cli/test_vector_store.py#L90
assert 'Could not find default factory or configuration' in "You need to provide the vector store instance be used. You can do this by \neither:\n- providing a path to a YAML configuration file with the --yaml-path option\n- providing a Python path to a function that creates a vector store with the \n--factory-path option\n- setting the default configuration or factory function in your project's \npyproject.toml file\n"
+ where "You need to provide the vector store instance be used. You can do this by \neither:\n- providing a path to a YAML configuration file with the --yaml-path option\n- providing a Python path to a function that creates a vector store with the \n--factory-path option\n- setting the default configuration or factory function in your project's \npyproject.toml file\n" = <Result SystemExit(1)>.stderr
|
test_vector_store.test_vector_store_cli_no_store:
packages/ragbits-core/tests/cli/test_vector_store.py#L90
assert 'Could not find default factory or configuration' in "You need to provide the vector store instance be used. You can do this by \neither:\n- providing a path to a YAML configuration file with the --yaml-path option\n- providing a Python path to a function that creates a vector store with the \n--factory-path option\n- setting the default configuration or factory function in your project's \npyproject.toml file\n"
+ where "You need to provide the vector store instance be used. You can do this by \neither:\n- providing a path to a YAML configuration file with the --yaml-path option\n- providing a Python path to a function that creates a vector store with the \n--factory-path option\n- setting the default configuration or factory function in your project's \npyproject.toml file\n" = <Result SystemExit(1)>.stderr
|
Run tests (3.12)
Process completed with exit code 1.
|
Run tests (3.11)
Process completed with exit code 1.
|
test_vector_store.test_vector_store_cli_no_store:
packages/ragbits-core/tests/cli/test_vector_store.py#L90
assert 'Could not find default factory or configuration' in "You need to provide the vector store instance be used. You can do this by \neither:\n- providing a path to a YAML configuration file with the --yaml-path option\n- providing a Python path to a function that creates a vector store with the \n--factory-path option\n- setting the default configuration or factory function in your project's \npyproject.toml file\n"
+ where "You need to provide the vector store instance be used. You can do this by \neither:\n- providing a path to a YAML configuration file with the --yaml-path option\n- providing a Python path to a function that creates a vector store with the \n--factory-path option\n- setting the default configuration or factory function in your project's \npyproject.toml file\n" = <Result SystemExit(1)>.stderr
|
Run tests (3.10)
Process completed with exit code 1.
|
Run tests (3.13)
Process completed with exit code 1.
|
Run linters
Process completed with exit code 1.
|
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
|
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.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.13)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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.
|
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/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-report
|
149 KB |
|