@@ -98,30 +98,24 @@ docker-compose up -d
98
98
uv run python -m unittest discover -s tests
99
99
100
100
# Test against specific version
101
- ./scripts/test-versions.sh v2.1.4
102
-
103
- # Test against v1.x (legacy)
104
- docker-compose --profile legacy up -d
105
- SURREALDB_VERSION=v1.5.5 uv run python -m unittest discover -s tests
101
+ ./scripts/test-versions.sh v2.1.8
106
102
107
- # Test against latest v2.x
108
- docker-compose --profile latest up -d
109
- SURREALDB_VERSION=v2.2.2 uv run python -m unittest discover -s tests
103
+ # Test against different v2.x versions
104
+ SURREALDB_VERSION=v2.0.5 uv run python -m unittest discover -s tests
105
+ SURREALDB_VERSION=v2.3.6 uv run python -m unittest discover -s tests
110
106
```
111
107
112
108
### CI/CD Testing
113
109
114
- - ** Core Tests** : Run on every PR against key stable versions (v1.5 .5, v2.0.4 , v2.1.4 , v2.2.2 )
110
+ - ** Core Tests** : Run on every PR against key stable versions (v2.0 .5, v2.1.8 , v2.2.6 , v2.3.6 )
115
111
- ** Comprehensive Tests** : Run on schedule/manual trigger against all latest minor versions
116
- - ** Auto-Discovery ** : Automatically discovers and tests latest patch versions
112
+ - ** Python Compatibility ** : Tests all supported Python versions (3.10, 3.11, 3.12, 3.13)
117
113
118
114
### Version-Specific Behavior
119
115
120
- Tests automatically detect SurrealDB version behavior:
121
- - ** v1.x** : ` [None] ` values preserved in arrays
122
- - ** v2.1.x+** : ` [None] ` values filtered to ` [] ` in arrays
123
-
124
- Set ` SURREALDB_VERSION ` environment variable to override version detection.
116
+ Tests are designed to be version-agnostic across all supported SurrealDB v2.x versions:
117
+ - Automatically handles behavioral differences between v2.x minor versions
118
+ - No environment variable configuration required for version detection
125
119
126
120
## Documentation
127
121
@@ -317,7 +311,7 @@ Use the test script for systematic testing:
317
311
318
312
The CI automatically tests against multiple versions:
319
313
320
- - ** Core tests** : Always run against key versions (v1.5.6, v2.0.5, v2.1.8, v2.2.6, v2.3.6)
314
+ - ** Core tests** : Always run against key versions (v2.0.5, v2.1.8, v2.2.6, v2.3.6)
321
315
- ** Comprehensive tests** : Scheduled tests against all latest versions
322
316
- ** Auto-discovery** : Dynamically finds latest patch versions
323
317
0 commit comments