Skip to content

Commit 203a960

Browse files
committed
chore: remove pgTAP testing infrastructure
Remove pgTAP-related files to keep branch focused on SQLx migration: - Remove tests/pgtap/ directory (structure & functionality tests) - Remove Dockerfile.pgtap (no longer needed) - Remove install_pgtap.sql - Remove tasks/test-pgtap.sh - Update docker-compose.yml to use standard postgres images SQLx tests use standard postgres containers and don't need pgTAP.
1 parent 33c53ce commit 203a960

File tree

9 files changed

+5
-478
lines changed

9 files changed

+5
-478
lines changed

tasks/test-pgtap.sh

Lines changed: 0 additions & 93 deletions
This file was deleted.

tests/Dockerfile.pgtap

Lines changed: 0 additions & 16 deletions
This file was deleted.

tests/docker-compose.yml

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
services:
22
postgres: &postgres
33
container_name: postgres
4-
build:
5-
context: .
6-
dockerfile: Dockerfile.pgtap
7-
args:
8-
POSTGRES_VERSION: "17"
4+
image: postgres:17
95
ports:
106
- 7432:7432
117
environment:
@@ -30,40 +26,24 @@ services:
3026

3127
postgres-17:
3228
<<: *postgres
33-
build:
34-
context: .
35-
dockerfile: Dockerfile.pgtap
36-
args:
37-
POSTGRES_VERSION: "17"
29+
image: postgres:17
3830
container_name: postgres-17
3931
#volumes: # uncomment if you need to inspect the container contents
4032
#- ./pg/data-17:/var/lib/postgresql/data
4133

4234
postgres-16:
4335
<<: *postgres
44-
build:
45-
context: .
46-
dockerfile: Dockerfile.pgtap
47-
args:
48-
POSTGRES_VERSION: "16"
36+
image: postgres:16
4937
container_name: postgres-16
5038

5139
postgres-15:
5240
<<: *postgres
53-
build:
54-
context: .
55-
dockerfile: Dockerfile.pgtap
56-
args:
57-
POSTGRES_VERSION: "15"
41+
image: postgres:15
5842
container_name: postgres-15
5943

6044
postgres-14:
6145
<<: *postgres
62-
build:
63-
context: .
64-
dockerfile: Dockerfile.pgtap
65-
args:
66-
POSTGRES_VERSION: "14"
46+
image: postgres:14
6747
container_name: postgres-14
6848

6949
networks:

tests/install_pgtap.sql

Lines changed: 0 additions & 5 deletions
This file was deleted.

tests/pgtap/functionality/equality_test.sql

Lines changed: 0 additions & 189 deletions
This file was deleted.

0 commit comments

Comments
 (0)