Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,9 @@ jobs:
# TODO: Re-enable once pg_regress tests are stabilized
# - name: Run pg_regress tests
# id: pg_regress
# env:
# PGDATABASE: contrib_regression
# run: |
# ./scripts/pg-start.sh
# cd test/regress
# make installcheck
# ./scripts/pg-start.sh contrib_regression
# PG_CONFIG=$(cargo pgrx info pg-config pg17) make installcheck

# - name: Upload pg_regress results on failure
# if: steps.pg_regress.outcome == 'failure'
Expand Down
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ test-e2e:
./scripts/test.sh --e2e

# Run pg_regress tests (requires PostgreSQL running)
# Respects PGHOST, PGPORT, PGUSER, PGDATABASE environment variables
installcheck:
@echo "Running pg_regress tests (PostgreSQL must be running with PGDATABASE=contrib_regression)..."
@cd test/regress && make installcheck
@echo "Running pg_regress tests (using PGHOST=$${PGHOST:-localhost} PGPORT=$${PGPORT:-5432})..."
@echo "Is pg_durable.database_name configured to match the pg_regress database?"
@cd test/regress && $(MAKE) installcheck

# Alias for installcheck
check: installcheck
Expand Down
Loading