diff --git a/.github/workflows/test_local_destinations.yml b/.github/workflows/test_local_destinations.yml index 0138e087ff..bb0a7a35f5 100644 --- a/.github/workflows/test_local_destinations.yml +++ b/.github/workflows/test_local_destinations.yml @@ -15,7 +15,8 @@ concurrency: cancel-in-progress: true env: - DLT_SECRETS_TOML: ${{ secrets.DLT_SECRETS_TOML }} + # NOTE: this workflow can't use github secrets! + # DLT_SECRETS_TOML: ${{ secrets.DLT_SECRETS_TOML }} RUNTIME__SENTRY_DSN: https://6f6f7b6f8e0f458a89be4187603b55fe@o1061158.ingest.sentry.io/4504819859914752 RUNTIME__LOG_LEVEL: ERROR @@ -23,6 +24,9 @@ env: ACTIVE_DESTINATIONS: "[\"duckdb\", \"postgres\", \"filesystem\", \"weaviate\"]" ALL_FILESYSTEM_DRIVERS: "[\"memory\", \"file\"]" + DESTINATION__WEAVIATE__VECTORIZER: text2vec-contextionary + DESTINATION__WEAVIATE__MODULE_CONFIG: "{\"text2vec-contextionary\": {\"vectorizeClassName\": false, \"vectorizePropertyName\": true}}" + jobs: get_docs_changes: name: docs changes diff --git a/tests/cli/test_init_command.py b/tests/cli/test_init_command.py index bf5c21c80f..3d9fd0909f 100644 --- a/tests/cli/test_init_command.py +++ b/tests/cli/test_init_command.py @@ -11,6 +11,9 @@ import re from packaging.requirements import Requirement +# import that because O3 modules cannot be unloaded +import cryptography.hazmat.bindings._rust + import dlt diff --git a/tests/load/utils.py b/tests/load/utils.py index c1142b0ad4..1eb078c72b 100644 --- a/tests/load/utils.py +++ b/tests/load/utils.py @@ -65,14 +65,14 @@ ] # Filter out buckets not in all filesystem drivers -DEFAULT_BUCKETS = [GCS_BUCKET, AWS_BUCKET, FILE_BUCKET, MEMORY_BUCKET, AZ_BUCKET] -DEFAULT_BUCKETS = [ - bucket for bucket in DEFAULT_BUCKETS if bucket.split(":")[0] in ALL_FILESYSTEM_DRIVERS +WITH_GDRIVE_BUCKETS = [GCS_BUCKET, AWS_BUCKET, FILE_BUCKET, MEMORY_BUCKET, AZ_BUCKET, GDRIVE_BUCKET] +WITH_GDRIVE_BUCKETS = [ + bucket for bucket in WITH_GDRIVE_BUCKETS if bucket.split(":")[0] in ALL_FILESYSTEM_DRIVERS ] # temporary solution to include gdrive bucket in tests, # while gdrive is not working as a destination -WITH_GDRIVE_BUCKETS = [GDRIVE_BUCKET] + DEFAULT_BUCKETS +DEFAULT_BUCKETS = [bucket for bucket in WITH_GDRIVE_BUCKETS if bucket != GDRIVE_BUCKET] # Add r2 in extra buckets so it's not run for all tests R2_BUCKET_CONFIG = dict(