mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-04 12:02:55 +00:00
## Problem We currently don't run end-to-end tests for PostgreSQL extensions on our cloud infrastructure, which means we might miss problems that only occur in a real cloud environment. ## Summary of changes - Added a workflow to run extension tests against a cloud staging instance - Set up proper project configuration for extension testing - Implemented test execution with appropriate environment settings - Added error handling and reporting for test failures --------- Co-authored-by: Alexander Bayandin <alexander@neon.tech> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
15 lines
610 B
Makefile
15 lines
610 B
Makefile
EXTENSION = rag_bge_small_en_v15
|
|
MODULE_big = rag_bge_small_en_v15
|
|
OBJS = $(patsubst %.rs,%.o,$(wildcard src/*.rs))
|
|
|
|
REGRESS = basic_functions embedding_functions basic_functions_enhanced embedding_functions_enhanced
|
|
|
|
PG_CONFIG = pg_config
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
|
PG_REGRESS := $(dir $(PGXS))../../src/test/regress/pg_regress
|
|
.PHONY installcheck:
|
|
installcheck:
|
|
dropdb --if-exists contrib_regression
|
|
createdb contrib_regression
|
|
psql -d contrib_regression -c "CREATE EXTENSION vector" -c "CREATE EXTENSION rag_bge_small_en_v15"
|
|
$(PG_REGRESS) --use-existing --dbname=contrib_regression $(REGRESS)
|