yetanalytics / lrsql

A SQL-based Learning Record Store
https://www.sqllrs.com
Apache License 2.0
91 stars 17 forks source link

SQL-177 Test against all supported versions of PostgreSQL #288

Closed milt closed 1 year ago

milt commented 1 year ago

SQL-177 We support all current maintained versions of PG but do not test them in CI. This PR adds targets to the makefile to explicitly test each version. Note that the existing test-postgres target will run the earliest version, 11.

Note that the current minor version of each major version will run.

The LRSQL_TEST_DB_VERSION env var determines which version will be run in TestContainers. Any Postgres docker tag (ex. latest) is valid. The default is 11.