Skip to content

Commit 07e6a4c

Browse files
fix docker section
1 parent dd58de8 commit 07e6a4c

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

README.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -280,13 +280,11 @@ uv run python -m unittest discover -s tests
280280
SURREALDB_VERSION=v2.1.8 docker-compose up -d surrealdb
281281
uv run python -m unittest discover -s tests
282282

283-
# Test with v1.x for compatibility
284-
SURREALDB_VERSION=v1.5.6 docker-compose up -d surrealdb
285-
uv run python -m unittest discover -s tests
286-
287-
# Use different profiles for parallel testing
288-
docker-compose --profile latest up -d # v2.3.6 on port 8020
289-
docker-compose --profile legacy up -d # v1.5.6 on port 8010
283+
# Use different profiles for testing specific v2.x versions
284+
docker-compose --profile v2-0 up -d # v2.0.5 on port 8020
285+
docker-compose --profile v2-1 up -d # v2.1.8 on port 8021
286+
docker-compose --profile v2-2 up -d # v2.2.6 on port 8022
287+
docker-compose --profile v2-3 up -d # v2.3.6 on port 8023
290288
```
291289

292290
### Automated Version Testing
@@ -300,9 +298,6 @@ Use the test script for systematic testing:
300298
# Test specific version
301299
./scripts/test-versions.sh v2.1.8
302300

303-
# Test v1.x compatibility
304-
./scripts/test-versions.sh v1.5.6
305-
306301
# Test specific test directory
307302
./scripts/test-versions.sh v2.3.6 tests/unit_tests/data_types
308303
```

0 commit comments

Comments
 (0)