Add tests for a cloud instance

This commit is contained in:
Alexey Masterov
2025-04-04 12:28:38 +02:00
parent d6ed3eb557
commit 2eaaa0495a
7 changed files with 48 additions and 5 deletions
+2 -1
View File
@@ -4,7 +4,7 @@ PGFILEDESC = "pgx_ulid - ULID type for PostgreSQL"
PG_CONFIG ?= pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
PG_REGRESS = $(shell dirname $(PGXS))/../../src/test/regress/pg_regress
PG_REGRESS = $(dir $(PGXS))/../../src/test/regress/pg_regress
PG_MAJOR_VERSION := $(word 2, $(subst ., , $(shell $(PG_CONFIG) --version)))
ifeq ($(shell test $(PG_MAJOR_VERSION) -lt 17; echo $$?),0)
REGRESS = 00_ulid_generation 01_ulid_conversions 03_ulid_errors
@@ -14,6 +14,7 @@ else
EXTNAME = pgx_ulid
endif
.PHONY: installcheck
installcheck: regression-test
regression-test: