Skip to content

Commit 6a569bc

Browse files
Update README
1 parent be1541e commit 6a569bc

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

README.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ Supported Versions
2525
The following table shows the versions which are officially supported by this
2626
library.
2727

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 |
3434

3535
Installation
3636
--
@@ -316,15 +316,21 @@ The script names follow the pattern
316316
To run the test suite against PostgreSQL 13 with PostGIS 3.1, use the script
317317
`./docker/run-13-31.sh`.
318318

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+
319324
```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
321327
```
322328

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
325330

326331
```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
328334
```
329335

330336
License

0 commit comments

Comments
 (0)