mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-23 06:09:59 +00:00
## Problem We need automated tests of extensions shipped with Neon to detect possible problems. ## Summary of changes A new image neon-test-extensions is added. Workflow changes to test the shipped extensions are added as well. Currently, the regression tests, shipped with extensions are in use. Some extensions, i.e. rum, timescaledb, rdkit, postgis, pgx_ulid, pgtap, pg_tiktoken, pg_jsonschema, pg_graphql, kq_imcx, wal2json_2_5 are excluded due to problems or absence of internal tests. --------- Co-authored-by: Alexander Bayandin <alexander@neon.tech> Co-authored-by: Heikki Linnakangas <heikki@neon.tech>
15 lines
319 B
Bash
15 lines
319 B
Bash
#!/bin/bash
|
|
set -x
|
|
|
|
cd /ext-src
|
|
FAILED=
|
|
LIST=$((echo ${SKIP} | sed 's/,/\n/g'; ls -d *-src) | sort | uniq -u)
|
|
for d in ${LIST}
|
|
do
|
|
[ -d ${d} ] || continue
|
|
psql -c "select 1" >/dev/null || break
|
|
make -C ${d} installcheck || FAILED="${d} ${FAILED}"
|
|
done
|
|
[ -z "${FAILED}" ] && exit 0
|
|
echo ${FAILED}
|
|
exit 1 |