mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-04 12:02:55 +00:00
## Problem We need to test the rum extension automatically as a path of the GitHub workflow ## Summary of changes rum test is enabled
15 lines
345 B
Bash
15 lines
345 B
Bash
#!/bin/bash
|
|
set -x
|
|
|
|
cd /ext-src || exit 2
|
|
FAILED=
|
|
LIST=$( (echo "${SKIP//","/"\n"}"; ls -d -- *-src) | sort | uniq -u)
|
|
for d in ${LIST}
|
|
do
|
|
[ -d "${d}" ] || continue
|
|
psql -c "select 1" >/dev/null || break
|
|
USE_PGXS=1 make -C "${d}" installcheck || FAILED="${d} ${FAILED}"
|
|
done
|
|
[ -z "${FAILED}" ] && exit 0
|
|
echo "${FAILED}"
|
|
exit 1 |