diff --git a/tests/integration/CMakeLists.txt b/tests/integration/CMakeLists.txt index 10a87d0..1284cdb 100644 --- a/tests/integration/CMakeLists.txt +++ b/tests/integration/CMakeLists.txt @@ -33,7 +33,7 @@ if (PGLAB_INTEGRATION_TESTS) set_tests_properties(db_up PROPERTIES FIXTURES_SETUP pgcluster LABELS integration) set_tests_properties(db_down PROPERTIES FIXTURES_CLEANUP pgcluster LABELS integration) - foreach (v 14 15 16 17) + foreach (v 14 15 16 17 18) add_test(NAME integration_pg${v} COMMAND IntegrationTests) set_tests_properties(integration_pg${v} PROPERTIES FIXTURES_REQUIRED pgcluster diff --git a/tests/integration/docker-compose.yml b/tests/integration/docker-compose.yml index e90e8dc..b2749e2 100644 --- a/tests/integration/docker-compose.yml +++ b/tests/integration/docker-compose.yml @@ -1,6 +1,6 @@ x-pg: &pg environment: { POSTGRES_PASSWORD: test } - tmpfs: [/var/lib/postgresql/data] + tmpfs: [/var/lib/postgresql] command: > postgres -c fsync=off -c synchronous_commit=off -c full_page_writes=off -c max_connections=200 @@ -14,3 +14,4 @@ services: pg15: { <<: *pg, image: "postgres:15", ports: ["54315:5432"] } pg16: { <<: *pg, image: "postgres:16", ports: ["54316:5432"] } pg17: { <<: *pg, image: "postgres:17", ports: ["54317:5432"] } + pg18: { <<: *pg, image: "postgres:18", ports: ["54318:5432"] }