Skip to content

Commit dd58de8

Browse files
fix versions
1 parent fda38d2 commit dd58de8

File tree

1 file changed

+10
-16
lines changed

1 file changed

+10
-16
lines changed

README.md

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -98,30 +98,24 @@ docker-compose up -d
9898
uv run python -m unittest discover -s tests
9999

100100
# 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
106102

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
110106
```
111107

112108
### CI/CD Testing
113109

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)
115111
- **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)
117113

118114
### Version-Specific Behavior
119115

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
125119

126120
## Documentation
127121

@@ -317,7 +311,7 @@ Use the test script for systematic testing:
317311

318312
The CI automatically tests against multiple versions:
319313

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)
321315
- **Comprehensive tests**: Scheduled tests against all latest versions
322316
- **Auto-discovery**: Dynamically finds latest patch versions
323317

0 commit comments

Comments
 (0)