@@ -25,12 +25,12 @@ Supported Versions
25
25
The following table shows the versions which are officially supported by this
26
26
library.
27
27
28
- | Dependency | Supported Versions |
29
- | :--------------| :--------------------|
30
- | PostGIS | 3.0 and 3.1 |
31
- | PostgreSQL | 11, 12 and 13 |
32
- | Doctrine ORM | ^2.9 |
33
- | Doctrine DBAL | ^2.13 and ^3.1 |
28
+ | Dependency | Supported Versions |
29
+ | :--------------| :--------------------------- |
30
+ | PostGIS | 3.0, 3.1, 3.2, 3.3 and 3.4 |
31
+ | PostgreSQL | 11, 12 and 13 |
32
+ | Doctrine ORM | ^2.9 |
33
+ | Doctrine DBAL | ^2.13 and ^3.1 |
34
34
35
35
Installation
36
36
--
@@ -316,15 +316,21 @@ The script names follow the pattern
316
316
To run the test suite against PostgreSQL 13 with PostGIS 3.1, use the script
317
317
` ./docker/run-13-31.sh ` .
318
318
319
+ Tests are either PostGIS version specific (versioned) or agnostic, and are run
320
+ separately using PHPUnit groups.
321
+
322
+ e.g. for PostGIS 3.1 and PostgreSQL 13
323
+
319
324
``` bash
320
- ./docker/run-13-31.sh vendor/bin/phpunit --exclude-group=postgis-3.0
325
+ ./docker/run-13-31.sh vendor/bin/phpunit --exclude-group=versioned
326
+ ./docker/run-13-31.sh vendor/bin/phpunit --group=postgis-3.1
321
327
```
322
328
323
- Note, that we exclude tests targeted at PostGIS 3.0 here. When running tests
324
- against PostGIS 3.0, exclude the tests for 3.1.
329
+ e.g. for PostGIS 3.0 and PostgreSQL 13
325
330
326
331
``` bash
327
- ./docker/run-13-30.sh vendor/bin/phpunit --exclude-group=postgis-3.1
332
+ ./docker/run-13-30.sh vendor/bin/phpunit --exclude-group=versioned
333
+ ./docker/run-13-30.sh vendor/bin/phpunit --group=postgis-3.0
328
334
```
329
335
330
336
License
0 commit comments